2015-11-13 3:50 AM
Hi all!
Please, can you help me. I have next problem. In My device I use BlueNRG-MS (HSI-16MHz, LSE ext - 32.768). BlueNRG init Ok, but not available in RF. He is active with a period of 30 seconds (name ''atn_B41'')HCI_Process();
User_Process(&axes_data); }...}....void setConnectable(void){ tBleStatus ret; const char local_name[] = {AD_TYPE_COMPLETE_LOCAL_NAME,'a','t','n','_','B','4','1'}; /* disable scan response */ hci_le_set_scan_resp_data(0,NULL); printk(''General Discoverable Mode.\n''); ret = aci_gap_set_discoverable(ADV_IND, 0, 0, PUBLIC_ADDR, NO_WHITE_LIST_USE, sizeof(local_name), local_name, 0, NULL, 0, 0); printk_co(GREEN,''aci_gap_set_discoverable() ret=0x%X'',ret); if (ret != BLE_STATUS_SUCCESS) { printk(''Error while setting discoverable mode (%d)\n'', ret); } }'' #avalible #init #bluenrg-msWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.