Bluetooth Applcation with nrf52840 which controls and sends data over NB-IoT or LTE-M once in a day

Hello,

I want to make one fw which adpots for following platform without much changes:

  • nrf9160 DK
  • nrf Thingy 91

Both board has nrf52 onboard so, my idea is as following:

  • nrf52 will advertise sensor data
    • and it should be possible to read sensor data also over BLE connection
  • once in a day it will send data over NB-IoT/LTE-M
    • nrf52 will control nrf9160 as a modem via AT-Commands

I don't know if this setup will work good enough. I want to know if it also possible to pu nrf9160 to PSM or eDRX mode.

My questions are:

  • Is there any sample fw to start this kind of development?
  • AFAIK, I need at-client fw on nrf9160 and write my application code on nrf52 for controlling modem. Is it also possbile to implement CoAP communication over AT-Commands for communication to backend?

Thanks for help in advance.

Pratik Prajapati

Parents
  • Hi,

    nrf52 will control nrf9160 as a modem via AT-Commands

    You can do this by running the Serial LTE Modem (SLM) application on the nRF9160.

    The at_client only supports the commands supported natively by the modem. Neither of which supports sending

    But, you could also do it the other way, with the nRF52 running the hci_uart sample, and the nRF9160 running the BLE host layer.

    I want to know if it also possible to pu nrf9160 to PSM or eDRX mode.

    Yes, it is. Assuming your carrier/subscription supports it.

    Is it also possbile to implement CoAP communication over AT-Commands for communication to backend?

    The SLM doesn't have any commands for CoAP, but it does support UDP. So you can either run the CoAP stack on the nRF52, sending the formatted CoAP packets via the UDP commands, or you can extend the SLM to also support CoAP.

    Best regards,
    Didrik

Reply
  • Hi,

    nrf52 will control nrf9160 as a modem via AT-Commands

    You can do this by running the Serial LTE Modem (SLM) application on the nRF9160.

    The at_client only supports the commands supported natively by the modem. Neither of which supports sending

    But, you could also do it the other way, with the nRF52 running the hci_uart sample, and the nRF9160 running the BLE host layer.

    I want to know if it also possible to pu nrf9160 to PSM or eDRX mode.

    Yes, it is. Assuming your carrier/subscription supports it.

    Is it also possbile to implement CoAP communication over AT-Commands for communication to backend?

    The SLM doesn't have any commands for CoAP, but it does support UDP. So you can either run the CoAP stack on the nRF52, sending the formatted CoAP packets via the UDP commands, or you can extend the SLM to also support CoAP.

    Best regards,
    Didrik

Children
Related