advertisement
Melody 6.0.39
Melody 6.0.39
PIO functionalities
PIOs have a different behaviour if GPIO control is enabled or disabled in the parameter GPIO_CONFIG.
1. GPIO control enabled
By default, GPIO control is enabled. It allows the module to work autonomously without the need of a host processor as in a wireless speaker for example. The table below lists the functionalities that are attributed to the PIOs. Please note that when in Multipoint, PIO controls will take effect on the active link.
GPIO
14
UART Equivalent Description
VREGEN single DISCOVERABLE ON
Melody will become discoverable.
VREGEN long if VREG_ROLE=0
nothing if VREG_ROLE=1
POWER ON/OFF
Depends on the configuration of VREG_ROLE.
PIO_0 single
PIO_1 single
PIO_2 single
15
VOLUME UP
VOLUME DOWN
MUSIC PLAY/PAUSE or
CALL ANSWER/END
Increases volume of the current link (HFP or A2DP).
Decreases volume of the current link (HFP and A2DP).
Starts playing music or stop playing music for A2DP
Source and Sink.
If there is an incoming HFP call it will answer the call.
During an ongoing call it will end the call.
CALL
If HFP is enabled, it will initiate a CALL (last number redial).
PIO_4 single MUSIC BACKWARD
Sends AVRCP instruction BACKWARD
PIO_5 single MUSIC FORWARD
Table 8: Command Mode General PIO Bluetooth Commands
Sends AVRCP instruction FORWARD (Next track)
Note: 'single' is defined as any press and release that happens within 50ms. 'long' is defined as holding the
PIO high for 1000ms. A repeated 'long' press will be detected if the PIO is held high for multiples of 1000ms.
14
Refer to BC127 Datasheet for location of PIO on the module pinout.
15
Only on non-MFI builds.
Blue Creation
.
St John’s Innovation Centre, Cowley Road, Cambridge, CB4 0WS, United Kingdom t .
+44 (0)1223 420 252 e .
[email protected] www.bluecreation.com
Page 30 of 83
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 1 Key Specifications
- 1 Description
- 1 Applications
- 5 Introduction
- 5 Getting started
- 5 Setting up - Equipment
- 6 Default behavior
- 7 Link ID management
- 8 Operating Modes
- 9 Melody Commands
- 21 Melody Configuration
- 29 Power management
- 29 Battery configuration
- 30 PIO functionalities
- 30 GPIO control enabled
- 31 GPIO control disabled
- 31 Audio Enable PIO
- 31 Restoring the default configuration
- 31 Capacitive touch sensors
- 31 Class 1 device
- 32 LED Indications
- 33 Pairing and connection
- 33 Secure Simple Pairing capabilities
- 33 Pairing commands
- 33 Connection
- 34 Link Loss
- 35 Audio configuration
- 35 Analog interface
- 35 Digital interface
- 39 Bluetooth profiles
- 39 A2DP / AVRCP
- 39 True Wireless Stereo
- 41 General BLE functionalities
- 42 Connection parameters
- 42 BC Smart service
- 48 Features
- 48 Speech Recognition
- 48 Device Firmware Upgrade
- 49 Appendix A: Event Notifications
- 52 Appendix B: Tone parameters and flags
- 55 Appendix C: Examples
- 56 Pairing and connection with Melody
- 61 Incoming call
- 61 Outgoing call
- 61 Call answer/reject
- 62 Call transfer
- 62 End call
- 62 Three way calling
- 66 Music source (A2DP & AVRCP)
- 70 Multi-connection and audio routing
- 71 True Wireless Stereo (TWS)
- 72 BLE (BC Smart Service)
- 73 BLE central (Generic commands)
- 74 Beacons
- 75 Tones
- 76 Link Policy
- 77 Appendix D: Error codes
- 78 Terms and definitions
- 79 General Notes
- 80 Change Log