cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-MS How to fix unhandled event 16

KHuan.9
Associate

Hi, I'm using NUCLEO-F401RE+X-NUCLEO-IDB05A1 as a central.

After start scan, I got unhandled event 16.

Is 16 = EVT_BLUE_GAP_ADDR_NOT_RESOLVED_BIT?

How should i fix it? or what may i set wrong?

Bluetooth firmware is bluenrg_7_2_c_Mode_2-16MHz-XO32K_4M

and

const IFR_config_TypeDef IFR_config = {

 /* Cold table */

 0x02,0x3A,0x40,0x02,

 0x34,0x1B,0x02,0x39,

 0xA2,0x02,0x3C,0x20,

 0x00,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 /* Hot table */

 0x02,0x1C,0x43,0x02,

 0x20,0xEC,0x02,0x1F,

 0xAF,0x00,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0xFF,0xFF,0xFF,0xFF,

 0x02, /* Stack mode = Mode 3, RAM1+RAM2 (8 connections) */

 0xFF, /* GPIO config = Disabled */

 0xFF,0xFF,

 /* Reserved section */

 0xFFFFFFFF,

 0xFFFFFFFF,

 0xFFFFFFFF,

 htobl(0xFFFFFFFF), /* Max connection event time = 4000 ms */

 htobl(0xFFFFFFFF), /* LS crystal period */

 htobl(0xFFFFFFFF), /* LS crystal frequency autocalibration*/

 htobs(0x01F4), /* Slave SCA = 500 ppm */

 0x00, /* Master SCA = 500 ppm */

 0xFF,

 htobs(0x0148), /* HS startup time = 800 us */

 0xFF,0xFF,

 htobl(0xFFFFFFFF), /* UID */

 0xFF,

 0x16,0x06,0x13,/* Year/Month/Day in BCD. */

 /* Free section (user data) */

 htobl(0xFFFFFFFF),

 htobl(0xFFFFFFFF),

 htobl(0xFFFFFFFF),

 htobl(0xFFFFFFFF),

 htobl(0xFFFFFFFF),

};

Thanks for any answer or advice~

Sincerely,

Kirby

0 REPLIES 0