Mynewt Driver for Quectel BC95-G NB-IoT transceiver module that implements the AT commands below as described in https://medium.com/@ly.lee/get-started-with-nb-iot-and-quectel-modules-6e7c581e0d61
[0] Prepare to transmit
NCONFIG
: configureQREGSWT
: huaweiNRB
: reboot
[1] Attach to network
NBAND
: select bandCFUN
: enable functionsCFUN?
: query functionsCGATT
: attach networkCGATT?
: query attachCEREG
: registrationCEREG?
: query registration
[2] Transmit message
NSOCR
: allocate portNSOST
: transmit
[3] Receive response
NSORF
: receive msgNSOCL
: close port
[4] Diagnostics
CGPADDR
: IP addressNUESTATS
: network stats
This driver also implements the CoAP transport for the sensor_coap
library, located in the parent folder.
Blue Pill | BC95-G |
---|---|
PA2 (UART2 TX2) |
RX |
PA3 (UART2 RX2) |
TX |
5V (ST-Link) |
VCC |
GND |
GND |
The module needs additional power or it will keep rebooting when we power on via AT+CFUN=1
. I used the 5V power supply from ST-Link V2...
https://www.linkedin.com/feed/update/urn:li:activity:6558362381049790464