Hello I’m trying to get the UDP service to work on BG95-M3. I need a Downlink option to send messages to our devices (using our operators backend for this).
I have been able to setup uplink using USB ecm and coaplib to setup DTLS and send CoAP messages.
I’m trying to setup downlink now by configuring a UDP service: What I got to work using BG95-M3 with firmware BG95M3LAR02A03_A0.301.A0.301
- Socket opens successfully: AT+QIOPEN=1,0,“UDP SERVICE”,“127.0.0.1”,0,3000,0
- Socket state shows correct: +QISTATE: 0,“UDP SERVICE”,“xx.xx.xx.xx”,0,3000,2,1,0,0,“usbmodem”
- Backend shows messages are sent
- But: No +QIURC: “recv”,0 URC is generated
- And: AT+QIRD=0,1500 returns +QIRD: 0 (no buffered data)
I’m using the proper port and proper IP address (through our operators backend)
flow is like this:
AT+QGMR
BG95M3LAR02A03_A0.301.A0.301
OK
AT+QIACT?
OK
AT+CEREG?
+CEREG: 0,5
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,“xx.xx.xx.xx”
OK
AT+QIOPEN=1,0,“UDP SERVICE”,“127.0.0.1”,0,3000,0
OK
+QIOPEN: 0,0
AT+QISTATE?
+QISTATE: 0,“UDP SERVICE”,“xx.xx.xx.xx”,0,3000,2,1,0,0,“usbmodem”
OK
AT+QIRD=0,1500
+QIRD: 0
OK
AT+QIRD=0,1500
+QIRD: 0
I obfuscated the IP addresses (xx.xxx.xx.xx), but they are valid (was able to check them on operators backend)
Kind regards,