8 years, 1 month ago.

MDOT serial Communication.

In the MDOT serial communication example, the serial communication is achieved via the USBTX and USBRX. However this is for the debug interface. Is there an example to program via the the DB9 connector which is primarily currently used for the AT commands when testing using the PC. I am looking for an example to switch from AT Mode to serial mode and communicate to the PC via the DB9 connector on the MDOT UDK kit by means of application and not AT commands. Are there API's within the libMDot that supports this mode of communication?

Thanks, Ajay

Question relating to:

The MultiConnect® mDot™ offers significantly longer range and improved radio performance compared to traditional wireless solutions—resulting in greater transmission range and reduced capital expense.

1 Answer

8 years, 1 month ago.

To communicate over the DB9 connector use the XBEE_DOUT and XBEE_DIN pins.

The AT Command firmware is the application that provides the serial communication layer for libmDot.

There is an command in AT Command Firmware that reads data directly from the serial port and transmits the packets over LoRa. You may want to look at that as an example.

https://developer.mbed.org/teams/MultiTech/code/mDot_AT_firmware/

The serial code can be found in the serial_loop function.

https://developer.mbed.org/teams/MultiTech/code/mDot_AT_firmware/file/3c97f3048373/CommandTerminal/CommandTerminal.cpp

Accepted Answer