EasyManuals Logo

Microchip Technology RN4870 User Manual

Microchip Technology RN4870
65 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
RN4870/71 Bluetooth
®
Low Energy Module User’s Guide
DS50002466A-page 28 2016 Microchip Technology Inc.
Command ! controls remote command feature. It expects one parameter, either 1 or 0.
If the input parameter is 1, then remote Command mode is enabled and the device
automatically enters Remote Command mode. When in Remote Command mode, the
command prompt CMD> changes to RMT>.
Command ! is only effective under the following conditions:
Both local and remote devices support UART Transparent feature.
The two devices are already connected and secured.
Upon receiving the request to start the Remote Command session, the RN4870/71
accepts the request if the following conditions are met:
The BLE link between devices are secured.
The first 4 bytes of local fixed pin code match those of the peer device.
If the above conditions are not met, the BLE link disconnects immediately.
To exit Remote Command mode, the local device must get back to Command mode by
typing $$$ or the proper configured trigger character, followed by command !,0. The
remote device then exits Remote Command mode.
2.6.5
@,<0-5>
Command @ reads one of the analog channels and returns the analog values in 16-bit
hex format. The unit is millivolts.
Command @ expects one input parameter which is the analog channel in single digit
format. The valid range of input parameter is from 0 to 5. Table 2-10 shows the analog
channels and their corresponding port pins.
Notice, that P1_0 and P1_1 have been configured by default to be status indication 1
and 2, respectively. In order to read analog input on those two pins, it is required to use
command SW to remove their pre-assigned system function.
Example: !,1
!,0
// Enter Remote Command mode
// Exit Remote Command mode
Response: RMT>
ERR
AOK
// Success
// BLE link not secured
// Success
TABLE 2-10: ANALOG CHANNELS AND ASSOCIATED PINS
Analog Port Parameter RN4870 Analog Port RN4871 Analog Port
0 P1_0
1 P1_1
2 P1_2 P1_2
3 P1_3 P1_3
4 Battery sensor Battery sensor
5 Temperature sensor Temperature sensor
Example: @,4 // Read current VDD
Response: AOK
ERR
// Success
// Syntax error, invalid parameter or associated pin
// has pre-assigned system function

Other manuals for Microchip Technology RN4870

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology RN4870 and is the answer not in the manual?

Microchip Technology RN4870 Specifications

General IconGeneral
BrandMicrochip Technology
ModelRN4870
CategoryMotherboard
LanguageEnglish

Related product manuals