Add sensor types in BLE MESH development in sensor_types.h file

Hi, 

I am currently working with the technology BLE MESH with the development kit nrf5340dk.

If I need to add a sensor type not present in the list of sensor types in the file sensor_types.h, it is possible ? For blood pressure sensor for example ?

Thank you!

Best regards

  • Hi, 

    You cannot add a new sensor type (such as blood pressure) to Bluetooth Mesh if it is not already defined in the Bluetooth Mesh device properties specification and present in sensor_types.h—only officially specified sensor types are supported in Bluetooth Mesh on Nordic platforms. See Sensor types

    Regards,
    Amanda H.

  • Hello,

    Thank you very much for your answer !

    Nordic is planning to add sensor types to the file sensor_types.h or there is alerady all possible sensor types officially specificed in the Bluetooth Mesh specification of Bluetooth SIG ?

    Best regards,

    Jade Mouillot

  • Hi, 

    All types within the Sensor Types header reflect the device properties document. There is nothing specific for Blood pressure, though there is a generic Pressure device property, which can be used to represent Blood pressure. As you can only instantiate one property only one on a sensor server instance, you would need to instantiate two sensor servers (on two different elements) to represent systolic and diastolic pressure separately.

    If this product is going to become a commercial product, and if you want to optimize your device, then you can propose a new device property to contain both systolic and diastolic blood pressure in a single item. This way, you won't need a new element to instantiate yet another sensor server. Nordic can help you do that if needed. Until then, you can use the alternative way mentioned above.

    -Amanda H.

  • Hello,

    Thank you for your answer and for all these precisions!

    I understand! Do you know if it is possible to implement some Human physiological data ? As a heart rate sensor for instance ? And a postion sensor like a GPS ? But this can be done with accelerometer and gyroscope data maybe.
    Also, do you know if it is possible to implement oxymeter with the "Present Ambient Carbon Dioxide Concentration" property, as it is also a Concentration (but here an Oxygen Concentration) ?

    Currently, I am working for a project for my region, where budget is discussed. Could you help me, as you suggested, to create a special type for blood pressure property ?

    Thank you very much in advance !

    Best regards,

    Jade Mouillot

  • You can use any property for now to represent your data as long as the corresponding property has enough precision to hold your data.

    To create a new device property. Join the Bluetooth SIG as an organization, and send your proposal. The proposal will be discussed and reviewed technically; then, you will need to incorporate the review feedback and send an updated proposal. Once the review committee is satisfied with the proposal, then it will be approved eventually.

Related