CSR蓝牙程序固件消息速查

摘自CS-110344-UGP1_Writing_BlueCore_Applications.pdf HID 0x7100 Connection 0x7000 SPP 0x6f00 HFP 0x6e00 A2DP 0x6d00 GAVDP(1) 0x6c00 (1) The GAVDP library is deprecated from BlueLab v4.0 onwards. AVRCP 0x6b00 GOEP (OBEX) 0x6a00 FTP Client 0x6900 Battery library 0x6800 摘自C:\BlueLab401\src\lib\battery\battery.h #define BATTERY_READING_MESSAGE 0x6800 OPP Client 0x6700 OPP Server 0x6600 FTP Server 0x6500 Codec 0x6400 AGHFP 0x6300 PBAP Client 0x6200 PBAP Server 0x6100 PIO Library 0x6000 DUN Library 0x5f00 audio 0x5d00 GOEPC 0x5c00 GOEPS 0x5b00

摘自C:\BlueLab401\src\lib\hfp\hfp.h typedef enum { HFP_INIT_CFM = HFP_MESSAGE_BASE,

0x6e00

/* Service Level Connection messages */ HFP_SLC_CONNECT_CFM, 0x6e01 HFP_SLC_CONNECT_IND, 0x6e02 HFP_SLC_DISCONNECT_IND, 0x6e03 HFP_SINK_CFM, 0x6e04 /* Audio messages */ HFP_AUDIO_CONNECT_CFM, HFP_AUDIO_CONNECT_IND, HFP_AUDIO_DISCONNECT_IND, /* Indicators */ HFP_SERVICE_IND, HFP_REMOTE_AG_PROFILE15_IND, HFP_CALL_IND, HFP_CALL_SETUP_IND, HFP_SIGNAL_IND,

0x6e05 0x6e06 0x6e07

0x6e08 0x6e09 0x6e0a 0x6e0b 0x6e0c

HFP_ROAM_IND, HFP_BATTCHG_IND, HFP_CALLHELD_IND, HFP_RING_IND, HFP_IN_BAND_RING_IND, HFP_CALLER_ID_ENABLE_CFM, HFP_CALLER_ID_IND, HFP_CALLER_ID_NAME_IND,

0x6e0d 0x6e0e 0x6e0f 0x6e10 0x6e11 0x6e12 0x6e13 0x6e14

/* Call control */ HFP_ANSWER_CALL_CFM, 0x6e15 HFP_REJECT_CALL_CFM, 0x6e16 HFP_TERMINATE_CALL_CFM, 0x6e17 HFP_CALL_WAITING_ENABLE_CFM, 0x6e18 HFP_CALL_WAITING_IND, 0x6e19 HFP_CALL_WAITING_NAME_IND, 0x6e1a HFP_RELEASE_HELD_REJECT_WAITING_CALL_CFM, HFP_RELEASE_ACTIVE_ACCEPT_OTHER_CALL_CFM, HFP_RELEASE_SPECIFIED_ACCEPT_OTHER_CALL_CFM, HFP_HOLD_ACTIVE_ACCEPT_OTHER_CALL_CFM, HFP_REQUEST_PRIVATE_HOLD_OTHER_CALL_CFM, HFP_ADD_HELD_CALL_CFM, HFP_EXPLICIT_CALL_TRANSFER_CFM, HFP_RESPONSE_HOLD_STATUS_CFM, HFP_RESPONSE_HOLD_HELD_CFM, HFP_RESPONSE_HOLD_ACCEPT_CFM, HFP_RESPONSE_HOLD_REJECT_CFM, HFP_RESPONSE_HOLD_STATUS_IND, /* Dialling */ HFP_LAST_NUMBER_REDIAL_CFM, HFP_DIAL_NUMBER_CFM, HFP_DIAL_MEMORY_CFM, HFP_VOICE_RECOGNITION_ENABLE_CFM, HFP_VOICE_RECOGNITION_IND, /* HSP messages */ HFP_HS_BUTTON_PRESS_CFM, /* Volume controls */ HFP_SPEAKER_VOLUME_CFM, HFP_SPEAKER_VOLUME_IND, HFP_MICROPHONE_VOLUME_CFM, HFP_MICROPHONE_VOLUME_IND, /* Other */ HFP_DISABLE_NREC_CFM, HFP_VOICE_TAG_NUMBER_CFM, HFP_DTMF_CFM,

0x6e1b 0x6e1c 0x6e1d 0x6e1e 0x6e1f 0x6e20 0x6e21 0x6e22 0x6e23 0x6e24 0x6e25 0x6e26

0x6e27 0x6e28 0x6e29 0x6e2a 0x6e2b

0x6e2c

0x6e2d 0x6e2e 0x6e2f 0x6e30

0x6e31 0x6e32 0x6e33

HFP_UNRECOGNISED_AT_CMD_IND, HFP_EXTRA_INDICATOR_INDEX_IND, HFP_EXTRA_INDICATOR_UPDATE_IND, HFP_ENCRYPTION_CHANGE_IND, HFP_ENCRYPTION_KEY_REFRESH_IND, HFP_SUBSCRIBER_NUMBER_CFM, HFP_SUBSCRIBER_NUMBER_IND, HFP_CURRENT_CALLS_CFM, HFP_CURRENT_CALLS_IND, HFP_NETWORK_OPERATOR_IND, HFP_NETWORK_OPERATOR_CFM, HFP_EXTENDED_ERROR_IND, HFP_EXTENDED_ERROR_CFM, /* CSR Extended Features */ HFP_CSR_SUPPORTED_FEATURES_CFM, HFP_CSR_TXT_IND, HFP_CSR_MODIFY_INDICATORS_CFM, HFP_CSR_NEW_SMS_IND, HFP_CSR_NEW_SMS_NAME_IND, HFP_CSR_SMS_CFM, HFP_CSR_MODIFY_AG_INDICATORS_IND, HFP_CSR_AG_INDICATORS_DISABLE_IND, HFP_CSR_AG_REQUEST_BATTERY_IND, HFP_CSR_FEATURE_NEGOTIATION_IND , HFP_MESSAGE_TOP }HfpMessageId ;

0x6e34 0x6e35 0x6e36 0x6e37 0x6e38 0x6e39 0x6e3a 0x6e3b 0x6e3c 0x6e3d 0x6e3e 0x6e3f 0x6e40

0x6e41 0x6e42 0x6e43 0x6e44 0x6e45 0x6e46 0x6e47 0x6e48 0x6e49 0x6e4a 0x6e4b

摘自C:\BlueLab401\src\lib\spp.h #define SPP_MESSAGE_BASE 0x6f00 /*! @brief The messages sent by the SPP library to its client. */ typedef enum { SPP_INIT_CFM = SPP_MESSAGE_BASE, 0x6f00 SPP_CONNECT_CFM, 0x6f01 SPP_CONNECT_IND, 0x6f02 SPP_MESSAGE_MORE_DATA, 0x6f03 SPP_MESSAGE_MORE_SPACE, 0x6f04 SPP_DISCONNECT_IND, 0x6f05 SPP_MESSAGE_TOP 0x6f06 } SppMessageId; 摘自C:\BlueLab401\src\lib\connection\connection.h #define CL_MESSAGE_BASE 0x7000 typedef enum

{ CL_INIT_CFM = CL_MESSAGE_BASE, 0x7000 CL_DM_ROLE_CFM, 0x7001 CL_DM_ROLE_IND, 0x7002 CL_DM_LINK_SUPERVISION_TIMEOUT_IND, 0x7003 CL_DM_SNIFF_SUB_RATING_IND, 0x7004 CL_DM_INQUIRE_RESULT, CL_DM_REMOTE_NAME_COMPLETE, CL_DM_LOCAL_NAME_COMPLETE, CL_DM_READ_INQUIRY_TX_CFM, CL_DM_CLASS_OF_DEVICE_CFM, CL_DM_SYNC_REGISTER_CFM, CL_DM_SYNC_UNREGISTER_CFM, CL_DM_SYNC_CONNECT_CFM, CL_DM_SYNC_CONNECT_IND, CL_DM_SYNC_DISCONNECT_IND, CL_DM_SYNC_RENEGOTIATE_IND, CL_DM_LOCAL_BD_ADDR_CFM, CL_DM_LINK_QUALITY_CFM, CL_DM_RSSI_CFM, CL_DM_REMOTE_FEATURES_CFM, CL_DM_LOCAL_VERSION_CFM, CL_DM_REMOTE_VERSION_CFM, CL_DM_CLOCK_OFFSET_CFM, CL_DM_READ_BT_VERSION_CFM, CL_DM_ACL_OPENED_IND, CL_DM_ACL_CLOSED_IND, 0x700a 0x700b 0x700c 0x700d 0x700e 0x700f 0x7010 0x7011 0x7012 0x7013 0x7014 0x7015 0x7016 0x7017 0x7018 0x7019 0x701a 0x701b 0x701c 0x701d 0x701e 0x7020 0x7021 0x7022 0x7023 0x7024 0x7025 0x7026 0x7027 0x7029 0x702a 0x7005 0x7006 0x7007 0x7008 0x7009

CL_SM_READ_LOCAL_OOB_DATA_CFM, CL_SM_AUTHENTICATE_CFM, CL_SM_SECURITY_LEVEL_CFM, CL_SM_SEC_MODE_CONFIG_CFM, CL_SM_PIN_CODE_IND, CL_SM_IO_CAPABILITY_REQ_IND, 0x701f CL_SM_REMOTE_IO_CAPABILITY_IND, CL_SM_USER_CONFIRMATION_REQ_IND, CL_SM_USER_PASSKEY_REQ_IND, CL_SM_USER_PASSKEY_NOTIFICATION_IND, CL_SM_KEYPRESS_NOTIFICATION_IND, CL_SM_AUTHORISE_IND, CL_SM_ENCRYPT_CFM, CL_SM_ENCRYPTION_KEY_REFRESH_IND, CL_SM_ENCRYPTION_CHANGE_IND, 0x7028 CL_SM_AUTH_KEY_MISSING_IND, CL_SDP_REGISTER_CFM,

CL_SDP_UNREGISTER_CFM, CL_SDP_OPEN_SEARCH_CFM, CL_SDP_CLOSE_SEARCH_CFM, CL_SDP_SERVICE_SEARCH_CFM, CL_SDP_ATTRIBUTE_SEARCH_CFM, 0x702f CL_SDP_SERVICE_SEARCH_ATTRIBUTE_CFM, CL_L2CAP_REGISTER_CFM, CL_L2CAP_UNREGISTER_CFM, CL_L2CAP_CONNECT_CFM, CL_L2CAP_CONNECT_IND, CL_L2CAP_DISCONNECT_IND, CL_RFCOMM_REGISTER_CFM, CL_RFCOMM_CONNECT_CFM, CL_RFCOMM_CONNECT_IND, CL_RFCOMM_DISCONNECT_IND, CL_RFCOMM_CONTROL_IND, CL_DM_LINK_POLICY_IND, CL_DM_DUT_CFM, 0x703c CL_DM_MODE_CHANGE_EVENT, CL_DM_WRITE_INQUIRY_ACCESS_CODE_CFM, CL_DM_WRITE_INQUIRY_MODE_CFM, CL_DM_READ_INQUIRY_MODE_CFM, 0x7040 CL_DM_READ_EIR_DATA_CFM, CL_SM_GET_ATTRIBUTE_CFM, CL_SM_GET_INDEXED_ATTRIBUTE_CFM, CL_SM_ADD_AUTH_DEVICE_CFM, CL_SM_GET_AUTH_DEVICE_CFM, CL_MESSAGE_TOP } ConnectionMessageId; 0x7046

0x702b 0x702c 0x702d 0x702e 0x7030 0x7031 0x7032

0x7033 0x7034 0x7035 0x7036 0x7037 0x7038 0x7039 0x703a 0x703b 0x703d 0x703e 0x703f 0x7041 0x7042 0x7043 0x7044 0x7045

摘自C:\BlueLab401\tools\include\firmware\app\message\system_message.h #define SYSTEM_MESSAGE_BASE_ 0x8000 /*!< All system message numbers are relative to this.*/ #define MESSAGE_BLUESTACK_BASE_ (SYSTEM_MESSAGE_BASE_) 0x8000/*!< All Bluestack message numbers are relative to this.*/ #define MESSAGE_BLUESTACK_LC_PRIM (MESSAGE_BLUESTACK_BASE_ + 1) 0x8001 /*!< Link Controller primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_LM_PRIM (MESSAGE_BLUESTACK_BASE_ + 2) 0x8002 /*!< Link Manager primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_HCI_PRIM (MESSAGE_BLUESTACK_BASE_ + 3) 0x8003 /*!< Host Controller Interface primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_DM_PRIM (MESSAGE_BLUESTACK_BASE_ + 4) 0x8004 /*!< Device Manager primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_L2CAP_PRIM (MESSAGE_BLUESTACK_BASE_ + 5) 0x8005 /*!< L2CAP

primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_RFCOMM_PRIM (MESSAGE_BLUESTACK_BASE_ + 6) 0x8006 /*!< RFCOM primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_SDP_PRIM (MESSAGE_BLUESTACK_BASE_ + 7) 0x8007/*!< Service Discovery Protocol primitive.*/ #define MESSAGE_BLUESTACK_BCSP_LM_PRIM (MESSAGE_BLUESTACK_BASE_ + 8) 0x8008 /*!< BCSP LM primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_BCSP_HQ_PRIM (MESSAGE_BLUESTACK_BASE_ + 9) 0x8009 /*!< BCSP HQ primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_BCSP_BCCMD_PRIM (MESSAGE_BLUESTACK_BASE_ + 10)0x800a /*!< BCSP BCCMD primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_CALLBACK_PRIM (MESSAGE_BLUESTACK_BASE_ + 11)0x800b /*!< Callback primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_TCS_PRIM (MESSAGE_BLUESTACK_BASE_ + 12)0x800c /*!< TCS primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_BNEP_PRIM (MESSAGE_BLUESTACK_BASE_ + 13)0x800d /*!< BNEP primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_TCP_PRIM (MESSAGE_BLUESTACK_BASE_ + 14)0x800e /*!< TCP primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_UDP_PRIM (MESSAGE_BLUESTACK_BASE_ + 15)0x800f /*!< UDP primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_FB_PRIM (MESSAGE_BLUESTACK_BASE_ + 16)0x8010 /*!< FB primitive from Bluestack.*/ #define MESSAGE_BLUESTACK_END_ (MESSAGE_BLUESTACK_BASE_ + 17)0x8011 /*!< End of Bluestack primitives.*/ /* Word-oriented message over BCSP#13. Message is the legacy word-format with length+type+payload. */ #define MESSAGE_FROM_HOST (SYSTEM_MESSAGE_BASE_ + 32)0x8020 /*!< Message received from the host.*/ #define MESSAGE_MORE_DATA (SYSTEM_MESSAGE_BASE_ + 33)0x8021 /*!< A Source has more data.*/ #define MESSAGE_MORE_SPACE (SYSTEM_MESSAGE_BASE_ + 34)0x8022 /*!< A Sink has more space.*/ #define MESSAGE_PIO_CHANGED (SYSTEM_MESSAGE_BASE_ + 35)0x8023 /*!< A PIO has changed.*/ #define MESSAGE_FROM_KALIMBA (SYSTEM_MESSAGE_BASE_ + 36)0x8024 /*!< A message from Kalimba has arrived.*/ #define MESSAGE_ADC_RESULT (SYSTEM_MESSAGE_BASE_ + 37)0x8025 /*!< A message containing an ADC reading has arrived.*/ #define MESSAGE_STREAM_DISCONNECT (SYSTEM_MESSAGE_BASE_ + 38)0x8026 /*!< A stream has disconnected.*/ #define MESSAGE_ENERGY_CHANGED (SYSTEM_MESSAGE_BASE_ + 39)0x8027 /*!< The energy level in a SCO stream has changed.*/ #define MESSAGE_STATUS_CHANGED (SYSTEM_MESSAGE_BASE_ + 40)0x8028 /*!< The values return by StatusQuery may have changed */ #define MESSAGE_SOURCE_EMPTY (SYSTEM_MESSAGE_BASE_ + 41)0x8029 /*!< A Source is empty. */

#define LONG_MESSAGE_FROM_KALIMBA (SYSTEM_MESSAGE_BASE_ + 42)0x802a /*!< A long message from Kalimba has arrived.*/ #define MESSAGE_USB_ENUMERATED (SYSTEM_MESSAGE_BASE_ + 43)0x802b /*!< BlueCore has enumerated as a USB device (no message content) */ /*! BlueCore has suspended or resumed as a USB device; the message is a MessageUsbSuspended and indicates which. This message is not sent if BlueCore is bus powered. Note that only the most recent change is reported, so adjacent messages may report the same status. */ #define MESSAGE_USB_SUSPENDED (SYSTEM_MESSAGE_BASE_ + 44)0x802c /*! The charger hardware has changed state. */ #define MESSAGE_CHARGER_CHANGED (SYSTEM_MESSAGE_BASE_ + 45)0x802d #define MESSAGE_PSFL_FAULT (SYSTEM_MESSAGE_BASE_ + 46)0x802e /*!< A fault was detected in flash-based PS */ /*! BlueCore has been deconfigured as a USB device (no message content) */ #define MESSAGE_USB_DECONFIGURED (SYSTEM_MESSAGE_BASE_ + 47)0x802f

摘自C:\BlueLab401\src\lib\hid\hid.h #define HID_MESSAGE_BASE 0x7100 /*! @brief Messages sent from HID library to the application. */ typedef enum { HID_INIT_CFM = HID_MESSAGE_BASE, 0x7100 HID_CONNECT_IND, 0x7101 HID_CONNECT_CFM, 0x7102 HID_DISCONNECT_IND, 0x7103 HID_CONTROL_IND, 0x7104 #ifdef HID_DEVICE HID_GET_REPORT_IND, 0x7105 HID_SET_REPORT_IND, 0x7106 HID_GET_PROTOCOL_IND, 0x7107 HID_SET_PROTOCOL_IND, 0x7108 HID_GET_IDLE_IND, 0x7109 HID_SET_IDLE_IND, 0x710a HID_DATA_IND, 0x710b #endif #ifdef HID_HOST HID_GET_REPORT_CFM, 0x7105 HID_SET_REPORT_CFM, 0x7106 HID_GET_PROTOCOL_CFM, 0x7107

HID_SET_PROTOCOL_CFM, HID_GET_IDLE_CFM, HID_SET_IDLE_CFM, #endif HID_MESSAGE_TOP } HidMessageId;

0x7108 0x7109 0x710a 0x710x

摘自C:\BlueLab401\apps\hid_mouse\hid_mouse.h /* Internal messages */ enum { APP_INTERNAL_PIN_CODE_TIMEOUT_IND = 100, APP_INTERNAL_IDLE_TIMEOUT_IND, APP_INTERNAL_UNPLUG_TIMEOUT_IND, APP_INTERNAL_DISCOVERABLE_TIMEOUT_IND, APP_INTERNAL_SHUTDOWN_IND, APP_INTERNAL_UNPLUG_IND }; 摘自D:/Exp090927/spp_dev_private.h

0x64 0x65 0x66 0x67 0x68 0x69


相关文档

蓝牙 CSR Firmware
CSR Firmware
CSR推出颠覆性的Bluetooth
CSR蓝牙固件关于对信号强度RSSI的应用HCI Implementation (bcore-an-032Pa)
CSR6145蓝牙耳机原理图
CSR蓝牙芯片BC57E687B Data sheet
CSR固件蓝牙无线信号强度链路质量与超距离指示CS101514ANP3 RSSI Link Quality and OutofRange Indication
3.ADK2.0编译CSR8670固件
Windows7安装蓝牙CSR4.0驱动:千月蓝牙软件BlueSoleil
内置Flash蓝牙数传CSR BC4规格书
电脑版