công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM1870 bảng dữ liệu(PDF) 25 Page - STMicroelectronics

tên linh kiện UM1870
Giải thích chi tiết về linh kiện  BlueNRG-MS development kits
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1870 bảng dữ liệu(HTML) 25 Page - STMicroelectronics

Back Button UM1870 Datasheet HTML 21Page - STMicroelectronics UM1870 Datasheet HTML 22Page - STMicroelectronics UM1870 Datasheet HTML 23Page - STMicroelectronics UM1870 Datasheet HTML 24Page - STMicroelectronics UM1870 Datasheet HTML 25Page - STMicroelectronics UM1870 Datasheet HTML 26Page - STMicroelectronics UM1870 Datasheet HTML 27Page - STMicroelectronics UM1870 Datasheet HTML 28Page - STMicroelectronics UM1870 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 58 page
background image
DocID027602 Rev 1
25/58
UM1870
GUI software description
58
The following pseudo code describes how to initialize a BlueNRG-MS device as a peripheral
using a simple python script:
# Reset BlueNRG-MS
HW_RESET()
# Init GATT
ACI_GATT_INIT()
# Init GAP as central device
ACI_GAP_INIT(Role=CENTRAL)
When a script is calling a command which generates specific events, the script can detect
them by using the WAIT_EVENT (event_code=None, timeout=None,
continueOnEvtMiss=False, **param_checks) command.
GET_LIST
Integer, Number of
bytes
Convert the integer value to an array of Number
of bytes.
Example:
X = 0x2233
GET_LIST(X, 2) = [0x33,0x22]
GET_STACK_VERSION
None
Return the FW stack version as
(major_fw_number,minor_fw_number)
GET_RAND_KEY
None
Returns a random number between 0 and
999999
INSERT_PASS_KEY
None
Allows to enter a pass key value used for the
security pass key method
PRINT
string
Print utility: it displays information on GUI
Sent/Received Packets
RESET
None
SW reset
SLEEP
time
It sleeps for “time” seconds
SET_MODE
Mode
Set stack mode (1,2,3)
SET_PUBLIC_ADDRESS
Public address
Set public address (optional)
SENSORDEMO_GET_TE
MPERATURE
None
It allows to get the temperature value from the
EVT_BLUE_ATT_READ_RESP event (only for
the SensorDemo_Central script)
SENSORDEMO_GET_AC
CELERATION
None
it allows to get the acceleration values (x,y,z)
from the EVT_BLUE_GATT_NOTIFICATION
event (only for the SensorDemo_Central script)
TIME
None
It returns the time as a floating point number
expressed in seconds since the epoch, in UTC
Table 7. GUI script engine: utility commands (continued)
Command name
Parameters
Description



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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