I’m trying to create a gateway to relay unpredictable but small amounts of data from BLE devices, immediately over LTE-M to a backend server.
I don’t want this gateway to poll the devices. The devices will advertise when they need to send the data, and the gateway will be scanning for those advertisements pretty regularly, so that the data can be sent within 5 seconds.
The data sent is about 30 bytes plus any encryption (currently using TLS over Wi-Fi so the data is quite a bit more over Wi-Fi). This can occur once an hour or up to 15 times an hour. Some of those occurrences are non-urgent but others are required to be delivered asap.
The gateway will pass this data on to my backend or MQTT. It is possible that the backend needs to send a 30 byte response back, and the gateway will have to deliver to the devices (which will wait for a response until they timeout).
Expected daily traffic would average around 400-600 bytes to the backend, before any overhead for encryption, and predominantly only an acknowledgement or result code back from the backend.
Ideally, these BLE devices could even get OTA updates too, but that part could be handled differently.
My goals are:
- quick transfer of the data from devices to the backend
- keep the landed cost under $30
- keep the data costs under $1 a month (500 bytes per day or 15 kbytes per month plus overhead)
- easy US coverage and ideally good global coverage in as many regions as possible
- ideally zero configuration
My current research tells me that one path would be to have a Nordic nRF52840, doing the BLE communication and most of the hard work, interfacing with a Nordic nRF9151 or Quectel EG916Q, to take AT commands and send and receive data.
Am I on the right track?
I’ve got some experience writing BLE code as I’ve already written the code to allow the devices to communicate with iOS and Android apps and pass the same data to the backed over TLS. It works well but now I want to remove the smartphones from the equation. I have no experience with LTE-M or NB-IoT.
I understand that a big hurdle will be to get carriers to allow this device to use their network. And that I will have to pay significant fees to get this device certified not just by FCC but also the carriers. I’d love to hear more about this.
If you’ve got some experience with LTE-M gateways and devices, please tell me where I can read up more about this and how to select my MCU and cellular module.
Right now I don’t have a budget but once I can narrow down the viable paths, i will know enough to create a budget and allocate funding.
Thanks!