I am trying to compile a bluetooth application in the zephyr folder. I am trying to use the data type 'bdaddr_t', but I keep getting the error below:
error: unknown type name ‘bdaddr_t’
I have included in my main file. #include <stdio.h> #include <stdlib.h> #include <time.h> #include <errno.h> #include <signal.h> #include <misc/printk.h>
I could not find bdaddr in any of the zephyr files. From what I have researched, bdaddr_t is the basic data structure used to specify a Bluetooth device address and that all Bluetooth address in BlueZ will be stored and manipulated as bdaddr_t structures. Furthermore, BlueZ allows for ba2str and vice versa conversions easily. Is there an equivalent to this in zephyr? I feel like this is a fundamental feature for all programs dealing with Bluetooth.