Skip to content

Latest commit

 

History

History

bc95g

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

bc95g

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: configure
  • QREGSWT: huawei
  • NRB: reboot

[1] Attach to network

  • NBAND: select band
  • CFUN: enable functions
  • CFUN?: query functions
  • CGATT: attach network
  • CGATT?: query attach
  • CEREG: registration
  • CEREG?: query registration

[2] Transmit message

  • NSOCR: allocate port
  • NSOST: transmit

[3] Receive response

  • NSORF: receive msg
  • NSOCL: close port

[4] Diagnostics

  • CGPADDR: IP address
  • NUESTATS: network stats

This driver also implements the CoAP transport for the sensor_coap library, located in the parent folder.

Connecting Quectel BC95-G module to STM32 Blue Pill

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