void setup()
{
bool ret;
Serial.
println(
"------------------------------------------------------");
if (get_dav_status) {
Serial.
println(
"================= Set Configuration =================");
Serial.
printf(
"BLE Configuration - set advertise interval is incorrect! \r\n");
return;
}
#ifdef rak11720
char dev_name[13] =
{ 'R', 'A', 'K', 'B', 'L', 'E', '-', '1', '1', '7', '2', '0', '\0' };
#else
char dev_name[12] =
{ 'R', 'A', 'K', 'B', 'L', 'E', '-', '4', '6', '3', '1', '\0' };
#endif
Serial.
printf(
"BLE Configuration - set broadcast name is incorrect! \r\n");
return;
}
Serial.
printf(
"BLE Configuration - set start advertise parameter is incorrect! \r\n");
return;
}
Serial.
println(
"+++++++++++++++++ START Advertising +++++++++++++++++");
Serial.
println(
"================= Get Configuration =================");
}
}
void loop()
{
}