nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
mds.h File Reference
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/uuid.h>

Go to the source code of this file.

Data Structures

struct  bt_mds_cb
 Memfault Diagnostic Service callback structure. More...
 

Macros

#define BT_UUID_MDS_VAL    BT_UUID_128_ENCODE(0x54220000, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the Memfault Diagnostic Service.
 
#define BT_UUID_MDS_SUPPORTED_FEATURES_VAL    BT_UUID_128_ENCODE(0x54220001, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the MDS Supported Features Characteristic.
 
#define BT_UUID_MDS_DEVICE_IDENTIFIER_VAL    BT_UUID_128_ENCODE(0x54220002, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the MDS Device Identifier Characteristic.
 
#define BT_UUID_MDS_DATA_URI_VAL    BT_UUID_128_ENCODE(0x54220003, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the MDS Data URI Characteristic.
 
#define BT_UUID_MDS_AUTHORIZATION_VAL    BT_UUID_128_ENCODE(0x54220004, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the MDS Authorization Characteristic.
 
#define BT_UUID_MDS_DATA_EXPORT_VAL    BT_UUID_128_ENCODE(0x54220005, 0xf6a5, 0x4007, 0xa371, 0x722f4ebd8436)
 UUID of the MDS Data Export Characteristic.
 
#define BT_UUID_MEMFAULT_DIAG   BT_UUID_DECLARE_128(BT_UUID_MDS_VAL)
 
#define BT_UUID_MDS_SUPPORTED_FEATURES   BT_UUID_DECLARE_128(BT_UUID_MDS_SUPPORTED_FEATURES_VAL)
 
#define BT_UUID_MDS_DEVICE_IDENTIFIER   BT_UUID_DECLARE_128(BT_UUID_MDS_DEVICE_IDENTIFIER_VAL)
 
#define BT_UUID_MDS_DATA_URI   BT_UUID_DECLARE_128(BT_UUID_MDS_DATA_URI_VAL)
 
#define BT_UUID_MDS_AUTHORIZATION   BT_UUID_DECLARE_128(BT_UUID_MDS_AUTHORIZATION_VAL)
 
#define BT_UUID_MDS_DATA_EXPORT   BT_UUID_DECLARE_128(BT_UUID_MDS_DATA_EXPORT_VAL)
 

Functions

int bt_mds_cb_register (const struct bt_mds_cb *cb)
 Register the Memfault Diagnostic service callback.