background image

  

Getting Started with EZ-BT WICED Modules 

www.cypress.com

 

Document Number: 002-23400 Rev. ** 

 

15 

4.3 

CySmart Mobile App 

In addition to the PC tool, you can download the CySmart mobile app for iOS or Android from the respective app stores. 
This app uses the iOS Core Bluetooth framework and the Android built-in platform framework for BLE respectively to 
configure your BLE-enabled smartphone as a Central device that can scan and connect to Peripheral devices. 

The  CySmart  mobile  app  provides  only  BLE  functions;  it  cannot  communicate  over  any  non-low-energy  Bluetooth 
protocols (RFCOMM, SCO, etc.) that are supported on EZ-BT WICED Modules. 

The mobile app supports SIG-adopted BLE standard profiles through an intuitive GUI and abstracts the underlying BLE 
service and characteristic details. 

Figure 8 

and 

Figure 9

 show an example of CySmart app screenshots for a Heart 

Rate Profile user interface.  

Figure 8. CySmart iOS App Heart Rate Profile Example  

 

Figure 9. CySmart Android App Heart Rate Profile Example  

 

 

 

 

Содержание EZ-BT WICED CYBT-343026-01

Страница 1: ...ule Low Power Modes 6 3 3 EZ BT WICED Part Number Overview 7 4 Development Tools 8 4 1 WICED Studio SDK and IDE 8 4 2 CySmart PC Application 13 4 3 CySmart Mobile App 15 5 Development Kits and Evaluat...

Страница 2: ...e Bluetooth module portfolio which includes Bluetooth 5 0 qualified BR EDR BLE devices that integrate Bluetooth standard profiles and protocols for embedded applications WICED pronounced wik id is Cyp...

Страница 3: ...sheet Cypress WICED Bluetooth datasheets lists the features pinouts device level specifications and fixed function peripheral electrical specifications of all Cypress WICED Bluetooth devices Datasheet...

Страница 4: ...ion see Appendix B EZ BT Module Product Details All EZ BT WICED Modules ship with all required components to achieve full Bluetooth functionality including PCB substrate Cypress WICED Bluetooth IC Ref...

Страница 5: ...62 V to 3 6 V module dependent Low Power Modes HIDOFF mode as low as 400 nA typical CYW20719 based modules Deep Sleep mode as low as 61 A with RAM retention CYW20719 based modules Serial Communicatio...

Страница 6: ...BT task with no data activity such as an ACL connection BLE connection or BLE advertisement can be performed The following guidelines and restrictions in usage apply to SDS mode The device address typ...

Страница 7: ...Marketing Part Number Silicon Device Module Size mm Range 1 Regulatory Certification BLE Standard SIG Mesh Qualified HomeKit Capable Antenna Type Package GPIOs Maximum Serial Flash KB SRAM KB I 2 S PC...

Страница 8: ...Drivers to access onboard peripherals including UART SPI I2 C ADC PWM etc Reference applications for devices with profiles defined by the Bluetooth SIG WICED Studio API documentation and related docum...

Страница 9: ...oft Windows libraries folder with source and header files for specific functionalities include folder with header files supporting various chipset hardware features platforms folder with board specifi...

Страница 10: ...that trigger these errors by following these simple steps 1 Click the Window menu then Preferences item 2 Expand C C and select the Code Analysis entry 3 Uncheck the Syntax and Semantic Errors box ma...

Страница 11: ...supported target chipsets it can be challenging to keep the names and parameters straight To help with this use the Ctrl Space shortcut key after typing the first few letters or prefix of a function...

Страница 12: ...et platform build Builds the firmware and OTA images recover Recover a corrupted target platform library Make a library of the app objects instead of fully linking it DEBUG 1 0 Enable or disable debug...

Страница 13: ...ntral device using the CY5670 or CY5677 USB dongle It provides a platform for you to test your EZ BT WICED Module BLE Peripheral implementation over GATT or L2CAP connection oriented channels by allow...

Страница 14: ...14 Figure 6 CySmart Host Emulation Tool Master Device Tab Advertisement and Scan Response Data Discovered Device List Log Window Trusted Device List Figure 7 CySmart Host Emulation Tool Peripheral De...

Страница 15: ...l device that can scan and connect to Peripheral devices The CySmart mobile app provides only BLE functions it cannot communicate over any non low energy Bluetooth protocols RFCOMM SCO etc that are su...

Страница 16: ...on Board Part Number CYBT 343026 01 CYBT 343026 EVAL CYBT 353027 02 CYBT 353027 EVAL CYBT 423028 02 CYBT 423028 EVAL CYBT 413034 02 CYBT 413034 EVAL CYBT 483039 02 CYBT 483039 EVAL Each EZ BT WICED ev...

Страница 17: ...Android app or the CySmart Host Emulation Tool that acts as a Central device for BLE and with a standard Bluetooth BR EDR host as a master or slave CySmart Host Emulation Tool requires a BLE dongle bl...

Страница 18: ...ommand the CYBT 343026 EVAL board to blink an onboard LED The number of LED blinks depends on the byte value received for this custom characteristic Figure 11 My First EZ BT WICED Module Design 7 2 Pr...

Страница 19: ...gure 12 In this example the project folder is created at the following location WICED Studio 6 1 20706 A2_Bluetooth apps snip bt spp_custom Figure 12 Creating a New Project Folder The next two steps i...

Страница 20: ...ed during the pairing process with the remote Central device Code 4 spp c Add wiced_bt_ble_security_grant API case BTM_SECURITY_REQUEST_EVT wiced_bt_ble_security_grant p_event_data security_request bd...

Страница 21: ...id hello_sensor_encryption_changed wiced_result_t result uint8_t bd_addr Comment out the hello_sensor_application_init function definition This function was added into the hello_sensor h file in Code...

Страница 22: ...k x n event switch event Bluetooth stack enabled case BTM_ENABLED_EVT hello_sensor_application_init break case BTM_DISABLED_EVT break case BTM_USER_CONFIRMATION_REQUEST_EVT WICED_BT_TRACE numeric_valu...

Страница 23: ...vertisement State Change d n p_mode if p_mode BTM_BLE_ADVERT_OFF hello_sensor_advertisement_stopped break default break return result 7 3 5 Create Platform Files Build and Download 1 If you have not i...

Страница 24: ...hanism for compiling and downloading firmware to the target device The build system supports some custom arguments to assist with troubleshooting or special cases These arguments are discussed in Sect...

Страница 25: ...g process described in Section 7 2 Part 1 Determine whether additional devices such as a UART connected MCU or an SPI connected peripheral sensor will be included in the solution The UART SPI or GPIO...

Страница 26: ...ters for BLE and inquiry page scan interval for Bluetooth BR EDR and some of the profile specific behavior In many cases the SDK provides APIs that allow you to trigger behavior with custom settings r...

Страница 27: ...Maximum connection interval WICED_BT_CFG_DEFAULT_CONN_LATENCY Connection latency WICED_BT_CFG_DEFAULT_CONN_SUPERVISION_TIMEOUT Connection link supervision timeout BLE advertisement settings BTM_BLE_A...

Страница 28: ...els LE L2cap connection oriented channels configuration 0 Maximum number of application managed LE PSMs 0 Maximum number of application managed LE channels Audio Video Distribution configuration 0 Max...

Страница 29: ...ary include file actual implementation of this function is in ROM Either PUART WICED_ROUTE_DEBUG_TO_PUART or HCI UART WICED_ROUTE_DEBUG_TO_HCI_UART can be configured to receive debug traces based on t...

Страница 30: ...l rely on the stack pools configured in the wiced_bt_cfg c wiced_bt_rfcomm_init MAX_TX_BUFFER 1 Initialize SPP library wiced_bt_spp_startup spp_reg ifdef HCI_TRACE_OVER_TRANSPORT There is a virtual HC...

Страница 31: ...onnectable advertisements A remote device is able to scan the peripheral device and issue a connect request which will trigger the callback hello_sensor_gatts_callback the hello_sensor_gatts_callback...

Страница 32: ...se BTM_PAIRING_COMPLETE_EVT p_pairing_info p_event_data pairing_complete pairing_complete_info WICED_BT_TRACE Pairing Complete d n p_pairing_info br_edr status result WICED_BT_USE_DEFAULT_SECURITY bre...

Страница 33: ..._DEFAULT_SECURITY break return result 7 4 3 BLE Functions Advertisement data can be modified based on application requirements by adding removing necessary elements in the wiced_bt_ble_advert_elem_t s...

Страница 34: ...ult Bonding Event Handler void hello_sensor_smp_bond_result uint8_t result wiced_result_t status uint8_t written_byte 0 WICED_BT_TRACE hello_sensor bond result d n result Bonding success if result WIC...

Страница 35: ...r p_data conn_id p_data data read_req break case GATTS_REQ_TYPE_WRITE result hello_sensor_gatts_req_write_handler p_data conn_id p_data data write_req break case GATTS_REQ_TYPE_WRITE_EXEC result hello...

Страница 36: ..._to_copy p_read_data offset if to_copy p_read_data p_val_len to_copy p_read_data p_val_len from uint8_t puAttribute p_attr p_read_data offset p_read_data p_val_len to_copy memcpy p_read_data p_val fro...

Страница 37: ...s p_attr 0 if hello_sensor_hostinfo number_of_blinks 0 WICED_BT_TRACE hello_sensor_write_handler num blinks d n hello_sensor_hostinfo number_of_blinks wiced_bt_app_hal_led_blink WICED_PLATFORM_LED_1 2...

Страница 38: ...Code 26 hello_sensor_gatts_callback wiced_bt_gatt_status_t hello_sensor_gatts_callback wiced_bt_gatt_evt_t event wiced_bt_gatt_event_data_t p_data wiced_bt_gatt_status_t result WICED_BT_GATT_INVALID_...

Страница 39: ...hello_sensor_gatts_connection_down wiced_bt_gatt_connection_status_t p_status wiced_result_t result WICED_BT_TRACE connection_down B conn_id d reason d n hello_sensor_state remote_addr p_status conn_i...

Страница 40: ...EDR can be set in the app_write_eir function In this example the device name and UUID of the SPP service are published as part of the inquiry response Code 30 App_write_eir Inquiry Response Data void...

Страница 41: ...ated_count buffer_stats 0 max_allocated_count buffer_stats 1 current_allocated_count buffer_stats 1 max_allocated_count buffer_stats 2 current_allocated_count buffer_stats 2 max_allocated_count buffer...

Страница 42: ...A_ON_INTERRUPT void app_send_data void int i while spp_handle 0 wiced_bt_spp_can_send_more_data app_send_offset APP_TOTAL_DATA_TO_SEND int bytes_to_send app_send_offset SPP_MAX_PAYLOAD APP_TOTAL_DATA_...

Страница 43: ...paration Host access to the HCI UART interface required for programming is available using either the built in USB to UART Bridge or the 6 pin J1 header on the evaluation board The HCI UART switch fou...

Страница 44: ...re has completed 2 Press and hold the RECOVER button RECOVER switch is defined in each EZ BT evaluation board 3 Press and hold the RESET button RESET switch is defined in each EZ BT evaluation board f...

Страница 45: ...l click Start Scan Your device name should appear in the Discovered devices list as shown in Figure 21 Figure 21 CySmart Device Discovery 8 Select your device and click Connect to establish a BLE conn...

Страница 46: ...a Bluetooth BR EDR connection with the PC Go to Windows Control Panel and open Devices and Printers 12 Right click in white space and select Add Device Locate your device in the list of scanned devic...

Страница 47: ...Press the user button on CYBT 343026 EVAL and observe that a continuous stream of 1 MB of data is sent to the COM port over the SPP profile of Bluetooth BR EDR link as shown in Figure 29 Figure 29 AS...

Страница 48: ...t_data_handler_t p_data_handler Wiced transport receive data handler wiced_transport_tx_complete_t p_tx_complete_cback Wiced transport tx complete callback wiced_transport_cfg_t An example of the tran...

Страница 49: ...ecific EZ BT WICED Module marketing part number specifies the Ground Clearance used for the design of the module and offers recommended additional ground keep out area to maximize the RF performance T...

Страница 50: ...e module at the edge placement options 1 or 3 of the host board the additional clearance area is only required facing inwards towards the center of the main board In all cases there must be no possibi...

Страница 51: ...of the radiation pattern remains the same with respect to the angular variation This region is called the far field region An object in the far field does not affect the radiation pattern much However...

Страница 52: ...metal obstructions Figure 34 Clearance from Small Metal Obstructions 8 3 4 Recommendations for Placement over a Large Metal Plane The other effect of metal is the formation of an image antenna The bes...

Страница 53: ...re that the antenna is not completely covered by a metallic enclosure If the product has a metallic casing or shield the casing should not cover the antenna No metal is allowed in the antenna near the...

Страница 54: ...the nozzle Using the center of mass guidelines for the pick and place location minimizes SMT line disturbances caused by units releasing prematurely from the nozzle Figure 36 shows an image of a nozzl...

Страница 55: ...press WICED Bluetooth Smart Ready silicon devices integrating the Bluetooth radio digital peripheral functions memory and an Arm Cortex M3 or M4 microcontroller The Cypress EZ BT Module family provide...

Страница 56: ...a microcontroller and Bluetooth Smart connectivity to any system EZ BT WICED Modules EZ BT WICED EZ BT WICED Modules are fully integrated fully certified Bluetooth Smart Ready Bluetooth Basic Rate Enh...

Страница 57: ...Module marketing part number Pinout and functionality for each EZ BT WICED Module marketing part number Recommended host PCB layout footprint for each EZ BT WICED Module marketing part number Recommen...

Страница 58: ...component connections and module placement recommendations see the CYBT 343026 01 datasheet B 1 1 Pinout and Functionality The CYBLE 343026 01 module is designed to mount as a component on an end prod...

Страница 59: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 59 Figure 39 CYBT 343026 01 Module Bottom View Seen from Bottom...

Страница 60: ...6 IN1 P38 ACLK0 P36 Yes DevWake 12 GPIO_1 BT_GPIO_1 P25 P32 PUART_RX P25 PUART_TX P32 SPI1_MISO P25 master slave SPI1_CS P32 slave IN7 P32 ACLK0 P32 Yes HostWake 13 GND GND No Connect Used for on modu...

Страница 61: ...I P33 slave IN6 P33 ACLK1 P33 Yes PWM1 P27 23 GPIO_6 BT_GPIO_6 P11 P26 SPI1_CS P26 slave IN24 P11 Yes GCI_SE CI_IN Yes PWM0 P26 24 GND GND No Connect Used for on module memory SPI interface for CYBT 3...

Страница 62: ...com Document Number 002 23400 Rev 62 Figure 40 Host Board Required PCB Layout Pattern Dimensioned View Note Pad length shown includes overhang of the host pad beyond the module pad outline The minimu...

Страница 63: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 63 Figure 41 Host Board Required PCB Layout Pattern To Pad Center Edge Relative to Origin...

Страница 64: ...96 294 49 4 0 38 8 70 14 96 342 52 5 0 38 9 92 14 96 390 55 6 0 38 11 14 14 96 438 58 7 0 38 12 35 14 96 486 22 8 0 38 13 57 14 96 534 25 9 1 73 15 11 68 11 594 88 10 2 95 15 11 116 14 594 88 11 4 17...

Страница 65: ...KB of on module serial flash Figure 38 shows a physical picture of the CYBT 353027 02 EZ BT WICED Module Figure 44 CYBT 353027 02 Module Top View Because of its small form factor CYBT 353027 02 is ide...

Страница 66: ...nly a portion of the available connections of the CYW20707 WICED Bluetooth silicon device are exposed on the CYBT 353027 02 module in order to minimize the module footprint size The CYBT 353027 02 mod...

Страница 67: ...TXD BT_UART_TXD HCI UART Transmit Data 11 CLK_REQ BT_CLK_REQ Used for shared clock applications 12 UART_RXD BT_UART_RXD HCI UART Receive Data 13 VDDIN VDDO VDDIN 2 3 V 3 6 V 14 GND GND Ground 15 UART_...

Страница 68: ...e 46 Host Board Required PCB Layout Pattern Dimensioned View Note Pad length shown includes overhang of the host pad beyond the module pad outline The minimum recommended pad length on the host PCB is...

Страница 69: ...from Origin mils 1 0 23 2 31 9 06 90 94 2 0 23 3 36 9 06 132 28 3 0 23 4 41 9 06 173 62 4 0 23 5 46 9 06 214 96 5 0 23 6 51 9 06 256 30 6 0 23 7 56 9 06 297 64 7 0 82 8 77 32 28 345 27 8 1 88 8 77 74...

Страница 70: ...www cypress com Document Number 002 23400 Rev 70 Figure 49 shows additional host board keep out area to achieve optimal RF performance with the CYBT 353027 02 module Figure 49 Host Board Additional K...

Страница 71: ...23028 02 supports a number serial communication interfaces I2C SPI 2 wire UART I2S PCM and peripheral functions ADC PWM Timer Counter and provides up to 17 GPIOs For more details on this module s dime...

Страница 72: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 72 Figure 51 CYBT 423028 02 Module Bottom View Seen from Bottom...

Страница 73: ...3V 9 P6 P6 Yes Yes 10 GND GND Ground 11 XRES RST_N External Reset Active LOW 12 P33 P33 IN6 Yes Yes 13 P25 P25 Yes Yes 14 P26 P26 Yes Yes 15 P38 P38 IN1 Yes Yes 16 P34 P35 P36 P34 P35 P36 IN5 P34 IN4...

Страница 74: ...SPI SPI 2 I O 3 Quad SPI SPI 2 Interrupt Output SPI 2 DCX DBI C DCX 8 bit mode PUART Input Serial Communication Input 4 Peripheral UART RX Peripheral UART CTS9 Output Serial Communication Output Perip...

Страница 75: ...assist in the host PCB layout design for CYBT 423028 02 Cypress provides three host PCB landing pattern reference drawings in Figure 52 Figure 53 and in Figure 54 and Table 13 Figure 52 provides a di...

Страница 76: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 76 Figure 53 Host Board Required PCB Layout Pattern To Pad Center Edge Relative to Origin...

Страница 77: ...0 253 94 6 0 31 7 37 12 20 290 16 7 0 31 8 28 12 20 325 98 8 0 31 9 19 12 20 361 81 9 0 31 10 11 12 20 398 03 10 1 39 10 69 54 72 420 87 11 2 30 10 69 90 55 420 87 12 3 21 10 69 126 38 420 87 13 4 13...

Страница 78: ...www cypress com Document Number 002 23400 Rev 78 Figure 55 details additional host board keep out area to achieve optimal RF performance with the CYBT 423028 02 module Figure 55 Host Board Additional...

Страница 79: ...tprint to save cost for customers that do not require the smallest footprint CYBT 413034 02 provides up to 17 GPIOs For more details on this module s dimensions external component connections and modu...

Страница 80: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 80 Figure 57 CYBT 413034 02 Module Bottom View Seen from Bottom...

Страница 81: ...ut 32 kHz IN20 P15 Yes P15 Yes P15 19 P6 P6 Yes Yes 20 XTALO_32K XTALO_32K External Oscillator Output 32 kHz 21 P10 P11 P10 P11 IN25 P10 IN14 P11 Yes P10 P11 Yes 22 P34 P35 P36 P34 P35 P36 IN5 P34 IN4...

Страница 82: ...ned view of the host PCB layout Figure 59 provides the location to the center edge of each solder pad relative to the origin of the module upper right PCB outline Figure 60 and Table 15 provides the l...

Страница 83: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 83 Figure 59 Host Board Required PCB Layout Pattern To Pad Center Edge Relative to Origin...

Страница 84: ...09 7 0 31 11 35 12 20 446 85 8 0 31 12 37 12 20 487 01 9 0 31 13 39 12 20 527 16 10 0 31 14 40 12 20 566 93 11 1 44 15 99 56 69 629 53 12 2 46 15 99 96 85 629 53 13 3 47 15 99 136 61 629 53 14 4 49 1...

Страница 85: ...www cypress com Document Number 002 23400 Rev 85 Figure 61 details additional host board keep out area to achieve optimal RF performance with the CYBT 413034 02 module Figure 61 Host Board Additional...

Страница 86: ...62 CYBT 483039 02 Module Top View CYBT 483039 02 is a specialized module ideal for customers desiring maximum connection range for Bluetooth Low Energy solutions CYBT 483029 02 can be used to communic...

Страница 87: ...of manual soldering and prototyping Only a portion of the available connections of the CYW20719 WICED Bluetooth silicon device are exposed on the CYBT 483039 02 module in order to minimize the module...

Страница 88: ...GND Ground 14 P10 P11 P10 P11 IN25 P10 IN14 P11 Yes P10 P11 Yes 15 P17 P17 IN18 Yes Yes 16 P7 P7 Yes 17 P6 P6 Yes Yes 18 P4 P4 Yes 19 XTALO_32K XTALO_32K External Oscillator Output 32 kHz 20 XTALI_32...

Страница 89: ...layout design for CYBT 483039 02 Cypress provides three host PCB landing pattern reference drawings in Figure 64 Figure 65 and in Figure 66 and Table 17 Figure 64 provides a dimensioned view of the ho...

Страница 90: ...Getting Started with EZ BT WICED Modules www cypress com Document Number 002 23400 Rev 90 Figure 65 Host Board Required PCB Layout Pattern To Pad Center Edge Relative to Origin...

Страница 91: ...0 38 14 05 14 96 553 15 10 0 38 15 06 14 96 592 91 11 0 38 16 08 14 96 633 07 12 0 38 17 09 14 96 672 83 13 1 80 18 21 70 87 716 93 14 2 82 18 21 111 02 716 93 15 3 84 18 21 151 18 716 93 16 4 85 18...

Страница 92: ...www cypress com Document Number 002 23400 Rev 92 Figure 67 details additional host board keep out area to achieve optimal RF performance with the CYBT 483039 02 module Figure 67 Host Board Additional...

Страница 93: ...Boards The information contained for each subsection below includes the following Physical image for each EZ BT WICED Evaluation marketing part number What s included on the specific EZ BT WICED Eval...

Страница 94: ...le when HCI UART communication is configured to On on SW4 the USB traffic from the Host PC is connected to the HCI UART connections of the CYBT 343026 01 module C 1 2 Connectors and Headers USB recept...

Страница 95: ...h element corresponding to the 4 wire UART signals TX RX CTS RTS used to connect HCI UART signals on CYBT 343026 EVAL to the host PC USB interface To connect HCI UART signals from CYBT 343026 01 to th...

Страница 96: ...holding this button down while pressing and releasing SW1 RESET Recovery mode is used prior to programming the module with a new binary image SW3 USER switch SW3 is provided as an element that the use...

Страница 97: ...USB communication to UART communication and vice versa For example when HCI UART communication is configured to On on SW4 the USB traffic from the Host PC is connected to the HCI UART connections of t...

Страница 98: ...itch SW4 controls the connection of USB data traffic to the HCI UART connections of the module SW4 is a four element switch each element corresponding to the 4 wire UART signals TX RX CTS RTS used to...

Страница 99: ...amming the module with a new binary image SW3 USER switch SW3 is provided as an element that the user can configure as required The SW3 element is connected to GPIO_6 on the CYBT 353027 02 module sold...

Страница 100: ...evice is provided on the evaluation board to translate USB communication to UART communication and vice versa For example when HCI UART communication is configured to On on SW4 the USB traffic from th...

Страница 101: ...o the 4 wire UART signals TX RX CTS RTS used to connect the HCI UART signals on CYBT 423028 EVAL to the host PC USB interface To connect HCI UART signals from CYBT 423028 02 to the host PC simply put...

Страница 102: ...is activated by holding this button down while pressing and releasing SW1 RESET Recovery mode is used prior to programming the module with a new binary image SW3 USER switch SW3 is provided as an ele...

Страница 103: ...W4 the USB traffic from the Host PC is connected to the HCI UART connections of the CYBT 413034 02 module C 4 2 Connectors and Headers USB receptacle The USB connection on the CYBT 413034 EVAL board p...

Страница 104: ...ported in Hardware on the HCI UART connection SW5 Peripheral UART PUART configuration switch SW5 controls the connection of the PUART signals of the CYBT 413034 02 module to the Host PC connection via...

Страница 105: ...module solder pad 8 Header J9 is provided on the CYBT 413034 EVAL board to disconnect P1 from the USER switch to allow this connection to be used on the Arduino Headers without SW3 connected D1 USER L...

Страница 106: ...W4 the USB traffic from the Host PC is connected to the HCI UART connections of the CYBT 483039 02 module C 5 2 Connectors and Headers USB receptacle The USB connection on the CYBT 483039 EVAL board p...

Страница 107: ...ted in Hardware on the HCI UART connection SW5 Peripheral UART PUART configuration switch SW5 controls the connection of the PUART signals of the CYBT 483039 02 module to the Host PC connection via th...

Страница 108: ...module solder pad 9 Header J9 is provided on the CYBT 483039 EVAL board to disconnect P1 from the USER switch to allow this connection to be used on the Arduino Headers without SW3 connected D1 USER L...

Страница 109: ...ge the CYW920706WCDEVAL portion of the target name to CYBT_343026_EVAL instead For example Before demo hello_sensor CYW920706WCDEVAL download After demo hello_sensor CYBT_343026_EVAL download Some exa...

Страница 110: ...NS_MAX_BUFFERS 10 define TRANS_UART_BUFFER_SIZE 1024 define SPP_MAX_PAYLOAD 1007 if SEND_DATA_ON_INTERRUPT include wiced_hal_gpio h include wiced_hal_platform h define APP_TOTAL_DATA_TO_SEND 1000000 d...

Страница 111: ...cfg_buf_pool_t wiced_bt_cfg_buf_pools WICED_BT_CFG_NUM_BUF_POOLS if defined WICED_BT_TRACE_ENABLE defined HCI_TRACE_OVER_TRANSPORT const wiced_transport_cfg_t transport_cfg WICED_TRANSPORT_UART WICED_...

Страница 112: ..._bt_gatt_status_t gatt_status wiced_result_t result Initialize wiced app wiced_bt_app_init if SEND_DATA_ON_INTERRUPT Configure the button available on the platform wiced_hal_gpio_configure_pin WICED_G...

Страница 113: ...EQUEST_EVT bda B n p_event_data pairing_io_capabilities_br_edr_request bd_addr p_event_data pairing_io_capabilities_br_edr_request local_io_cap BTM_IO_CAPABILITIES_NONE p_event_data pairing_io_capabil...

Страница 114: ...type full name memcpy p wiced_bt_cfg_settings device_name length p length p 2 1 Length of 16 bit services p BT_EIR_COMPLETE_16BITS_UUID_TYPE 0x03 EIR type full list of 16 bit service UUIDs p UUID_SERV...

Страница 115: ...CE s handle d len d 02x 02x n __FUNCTION__ handle data_len p_data 0 p_data data_len 1 if LOOPBACK_DATA wiced_bt_spp_send_session_data handle p_data data_len endif return WICED_TRUE Write NVRAM functio...

Страница 116: ...ction which start sending data void app_interrupt_handler void data uint8_t port_pin int i WICED_BT_TRACE gpio_interrupt_handler pin d send_offset d n port_pin app_send_offset Get the status of interr...

Страница 117: ...d operator 2 Adding extra include folders into the search path Some projects require the use of additional libraries that assume particular include folders are in the compiler s include search path To...

Страница 118: ...These references can be found by visiting www cypress com cypress_bluetooth_modules or by clicking on the hyperlinks in the table below Table 24 Bluetooth QDID and Regulatory Test Report and Certifica...

Страница 119: ...om Document Number 002 23400 Rev 119 Document History Document Title AN223400 Getting Started with EZ BT WICED Modules Document Number 002 23400 Revision ECN Orig of Change Submission Date Description...

Страница 120: ...tion of the Software is prohibited TO THE EXTENT PERMITTED BY APPLICABLE LAW CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDW...

Отзывы: