поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PM0237 датащи(PDF) 58 Page - STMicroelectronics

номер детали PM0237
подробное описание детали  The main purpose of this document is to provide a developer
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0237 датащи(HTML) 58 Page - STMicroelectronics

Back Button PM0237 Datasheet HTML 54Page - STMicroelectronics PM0237 Datasheet HTML 55Page - STMicroelectronics PM0237 Datasheet HTML 56Page - STMicroelectronics PM0237 Datasheet HTML 57Page - STMicroelectronics PM0237 Datasheet HTML 58Page - STMicroelectronics PM0237 Datasheet HTML 59Page - STMicroelectronics PM0237 Datasheet HTML 60Page - STMicroelectronics PM0237 Datasheet HTML 61Page - STMicroelectronics PM0237 Datasheet HTML 62Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 88 page
background image
Design an application using BlueNRG, BlueNRG-MS ACI APIs
PM0237
58/88
DocID027104 Rev 2
Conn_Latency: 0 (Slave latency for the connection in a number of
connection events);
Supervision_Timeout: 60 (Supervision timeout for the LE Link);
Conn_Len_Min: 2000 (Minimum length of connection needed for the LE
connection);
Conn_Len_Max: 2000 (Maximum length of connection needed for the LE
connection).
*/
ret = aci_gap_create_connection(0x4000, 0x4000, PUBLIC_ADDR,
GAP_Peripheral_address,
PUBLIC_ADDR, 40, 40, 0, 60, 2000 , 2000);
if (ret != BLE_STATUS_SUCCESS) PRINTF("Failure.\n")}
} /* end GAP_Peripheral_Make_Discoverable() */
Note:
1. If ret = BLE_STATUS_SUCCESS is returned, on termination of the GAP procedure, a
EVT_LE_CONN_COMPLETE
event is returned, on the HCI_Event_CB() event callback, to
indicate that a connection has been established with the GAP_Peripheral_address (same
event is returned on the GAP peripheral device).
2. The connection procedure can be explicitly terminated by issuing the command
aci_gap_terminate_gap_procedure().
3. The last two parameters Conn_Len_Min and Conn_Len_Max of the
aci_gap_create_connection
() are the length of the connection event needed for the
BLE connection. These parameters allows user to specify the amount of time the master
has to allocate for a single slave so they must be wisely choosen.
In particular, when a master connects to more slaves, the connection interval for each slave
must be equal or a multiple of the other connection intervals and user must not overdo the
connection event length for each slave.
3.4.2
Set discoverable mode & use general discovery procedure (active
scan)
The following pseudocode example illustrates only the specific steps to be followed for
putting a GAP Peripheral device in general discoverable mode, and for a GAP central
device to start a general discovery procedure in order to discover devices within its radio
range.
/* GAP Peripheral:
general discoverable mode (scan responses are sent):
Note:
It is assumed that the device public address has been set during the initialization phase as
follows:
uint8_t bdaddr[] = {0x12, 0x34, 0x00, 0xE1, 0x80, 0x02};
ret = aci_hal_write_config_data(CONFIG_DATA_PUBADDR_OFFSET,
CONFIG_DATA_PUBADDR_LEN,
bdaddr);
if (ret != BLE_STATUS_SUCCESS) PRINTF("Failure.\n")}
*/
void GAP_Peripheral_Make_Discoverable(void )
{



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com