Download BlueNRG development kits

Transcript
UM1686
4
5
6
Contents
Programming with BlueNRG network processor . . . . . . . . . . . . . . . . . 24
4.1
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.2
Software directory structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
BlueNRG sensor profile demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.1
Supported platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.2
BlueNRG app for smartphones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.3
BlueNRG sensor profile demo: connection with a central device . . . . . . . 28
5.3.1
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3.2
Add service and characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3.3
Set security requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.3.4
Enter connectable mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.3.5
Connection with central device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
BlueNRG chat demo application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.1
Supported platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2
BlueNRG chat demo application: peripheral & central devices . . . . . . . . 31
6.2.1
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.2.2
Add service and characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.2.3
Set security requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.2.4
Enter connectable mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.2.5
Connection with central device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7
List of acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8
Available board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DocID025464 Rev 2
3/39
39