Hello!
The first thing is to understand if agent integration into firmware is a correct way. It is easier to connect the device with the AggreGate server.
Unfortunately, we don't have instruction how to integrate agent and GW, but If you want to do your custom firmware you can check documentation by the links
Tibbo Modbus Gateway Firmware
https://github.com/tibbotech/Modbus-Gateway AggreGate Library Test Programs
https://github.com/tibbotech/CA-Test-AGG-lib TIDE, TiOS, Tibbo BASIC and Tibbo C Manual
http://docs.tibbo.com/taiko/ If you have a lot of types of such devices you can order OEM development. In this case please contact
sales@tibbo.com.