cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

MoNo_2793136
New Contributor

I need a WICED example on how to setup an OBEX server for file transfer or the steps involved in setting up the server. The example in the WICED studio includes an example for setting up and RFCOMM server that supports the SPP (Serial Port Profile).

The setup sequence in that example includes the following invocation of the HCI control function:

wiced_hci_send( HCI_CONTROL_SPP_COMMAND_CONNECT, data, length );

The HCI control command in the above example is for SPP (Serial Port Profile) but I cannot find the corresponding HCI command for OBEX in the WICED studio source code. My search of the WICED source code did not produce any results for  HCI control command that corresponds to OBEX  profile. Also the SPP example includes  an event management call back for serial port:

wiced_hci_set_event_callback(SPP, wh_bt_rfcomm_context.rfcomm_context_cb);

The SPP constant in the above corresponds to the serial port profile; the constant is defined by the data type "typedef enum control_group_enum". That enum type def does not include any constant that corresponds to OBEX profile.

Your guidance will be appreciated greatly.

Thanks.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator

CYW20706 supports OPP Server (  WICED Bluetooth Software Features (CYW20706A2/CYW20719B1) )

Please have a look at the demo project in WICED studio hci_opp_server ( /20706-A2_Bluetooth/apps/demo/hci_opp_server)

Thanks,
Anjana

View solution in original post

3 Replies
AnjanaM_61
Moderator
Moderator

CYW20706 supports OPP Server (  WICED Bluetooth Software Features (CYW20706A2/CYW20719B1) )

Please have a look at the demo project in WICED studio hci_opp_server ( /20706-A2_Bluetooth/apps/demo/hci_opp_server)

Thanks,
Anjana

View solution in original post

MoNo_2793136
New Contributor

Thanks Anjana for your reply.  I checked the WICED studio examples and the hci_opp_server directory is missing from the

20706-A2_Bluetooth directory. All I see under 20706-A2_Bluetooth directory is:

apps/demo/hci_audio_gateway

apps/demo/audio_remote_control

apps/demo/hci_ble_hid_dev

apps/demo/hci_handsfree

apps/demo/hci_hid_device

apps/demo/hci_hid_host

apps/demo/hci_pbap_client

apps/demo/hci_serial_gatt_service

apps/demo/hci_uart_spi_bridge

apps/demo/headset

apps/demo/hello_client

apps/demo/hello_sensor

apps/demo/watch

The search of the rest of the subdirectories under the 20706-A2_Bluetooth did not find the hci_opp_sever.  Is there any way to download a zipped version of the hci_opp_server.

Thanks.

0 Likes
AnjanaM_61
Moderator
Moderator

Hi,

I think you are using old SDK version.

Please install latest WICED Studio 6.2 from here:WICED Studio Bluetooth Docs & Downloads

Thanks & Regards,
Anjana

0 Likes