Home > HMS NETWORKS > HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide
HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide
CAN@net NT/CANbridge NT Lua ADK
Table of Contents
1. Purpose of this Document ........................................................................................................ 1
2. Descripon of Ixxat Lua ADK ..................................................................................................... 2
2.1. Dierence between Standard Lua and Ixxat Lua ADK ............................................................... 2
2.2. Lua Library Funcons Enabling the Regisraon of Lua Callbacks ............................................... 2
2.3. Limiaons of the Ixxat Lua ADK .......................................................................................... 3
2.4. Specics in Coding for the Ixxat Lua ADK ............................................................................... 3
2.4.1. Bit Model 32 Bit Version ............................................................................................. 3
2.4.2. Errors and Debugging ................................................................................................ 3
2.4.3. Declaring Variables .................................................................................................... 3
2.4.4. Passing Context between Lua Event Tasks ...................................................................... 4
3. Using Lua ADK with the CAN NT Devices ..................................................................................... 5
3.1. How to Enable the Use of the Lua ADK? ................................................................................ 5
3.2. How to Use Lua in Target Mode? ......................................................................................... 5
3.3. How to Use Lua in Remote Mode? ....................................................................................... 6
3.4. How to Debug the Lua File? ................................................................................................ 7
4. Creang Lua Scripts ................................................................................................................. 8
4.1. How does the Lua ADK Event System Work? .......................................................................... 8
4.2. Example Applicaons ........................................................................................................ 8
5. Lua API Funcon and Module Reference ..................................................................................... 9
5.1. Lua Callback Funcons Called from C ................................................................................... 9
5.2. C Funcons Called from Lua .............................................................................................. 10
5.2.1. Module misc ......................................................................................................... 10
5.2.2. Module can ........................................................................................................... 11
5.2.3. Module mqtt ......................................................................................................... 13
5.2.4. Module sys ........................................................................................................... 13
5.2.5. Module cyc ........................................................................................................... 15
5.2.6. Module json ......................................................................................................... 16
5.2.7. Module array ....................................................................................................... 16
6. Lua License ............................................................................................................................ 20
4.02.0332.20002 Version 1.5
| General | Details |
|---|---|
| Name | HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide |
| Make | HMS NETWORKS |
| Language | English |
| Filetype | PDF (Download) |
| File size | MB |
If you have any questions regarding HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide, please ask here and describe the problem in detail.













