aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

[General] BLE service to leverage IOT BLE data transfer service #3538

Open shijinjose opened 1 year ago

shijinjose commented 1 year ago

Briefly summarize the issue being raised We want to create a BLE service which leverage the IOT BLE Data transfer service for all data communication with peer mobile device. Is there a documentation or guidance available on how to integrate this custom service with Amazon FreeRTOS.

Describe the desired outcome create a new service similler to WIFI provisioning or MQTT over BLE.

System information

dachalco commented 1 year ago

Hi @shijinjose

Is this in regard to a particular release of amazon-freertos, or with latest main? Instructions may be fairly similar.

There is a Adding a New Service section in our BLE documentation. Our BLE abstraction is just a shim and reuses standard BT/BLE nomenclature from the spec.

We already provide a RX/TX type service you can reference, or possibly use, which is used for our mqtt_ble demos. Though it has additional GATT attributes you may not be interested in. Regardless you can see how this service defines the gatt server attributes, installs, and services updates with callbacks.