Lua Scripting Language

Lua is an advanced programming language, offered to Open AT® developers as a complement to the standard C-based ADL interface. This is the first public alpha release of the Open AT® -Lua plug-in.

Provided as a regular Open AT® plug-in, the Lua compiler, virtual machine, library and interactive shell simplifies the development by taking care of many tasks usually left to the developer in C-based development environments, including memory, data flow, and control flow management.

More specifically, it provides:
  • All the features you should expect from a high level language:
    Unlimited multithreading and synchronization, advanced data structures, proper string handling (including regular expressions), automatic memory management (continuous M&S garbage collector), first-class functions, modular and object-oriented programming...
  • Streamlined development environment:
    You control the WCPU through a standard telnet client, and it automatically uploads and runs your program files from any standard FTP server: no compilation time, no explicit download process, no mandatory reboot between code modifications; only standard, interchangeable tools and protocols.
  • Interaction through the telnet shell:
    You can inspect, control and update any module's state, anywhere in the world, as soon as it's connected to the web: switch tasks between foreground and background, create, alter or kill resources (sockets, bearers, tasks, RAM data, flash objects...). This dramatically eases prototyping, development and maintenance of your applications.
  • Live code update:
    You can change function implementations, live, without rebooting nor even stopping the WCPU. Whenever a new implementation suits you, you can instantly save it to flash.
  • Remote debugging over TCP/IP:
    What you used to do with a module sitting on your desk, you can do with a module anywhere in the world.
  • Every API that ought to be blocking is blocking:
    Thanks to dynamic multithreading and synchronization, you keep full access to the event-driven model whenever it suits you best, and can mix the two approaches as you wish.
  • Complete mapping of ADL, WIP and AT features.
  • Easy binding with C:
    Because C is here to stay, especially in embedded software: you write the realtime parts of your application in C, while the remaining 90% stay in a high-level, maintainable language.
  • The language is very easy to learn:
    Provided with proper docs, a proficient developer will master most "normal" Lua programming technics and idioms in about an hour. Advanced features remain available for those who need to go further.
> Wiki   
RSS news feeds

Stay updated on what's happening at Wavecom with our RSS news feeds!

Technical documents

To download technical documentation, select your Wireless CPU® from the left menu and click the Downloads tab

10 reasons to choose...



  Contact Wavecom | Privacy | After sales Réalisation Profileo Wavecom © 2010 - All rights reserved  
Wavecom - from WISMO, wireless modules and wireless modems to Wireless CPUs