Bluesoleil SDK usage
-
Hi, I am using Bluesoleil sdk to get the information from a nokia phone on pc and also use the phone's services on pc. I need to get the battery level and signal strength from the phone and display on my gui. The sdk provides an api Btsdk_VendorCommand for this. It uses a structure called BtsdkVendorCmdStru. typedef struct _BtSdkVendorCmdStru { BTUINT16 ocf; BTUINT8 param_len; BTUINT8 param[1]; } BtSdkVendorCmdStru, *PBtSdkVendorCmdStru; The structure BtSdkVendorCmdStru contains information about a vendor specific command . Ocf Specifies the OpCode Command Field value of this vendor specific command. param_len Specifies the size in bytes of the content in the buffer pointer by the param element. Param Pointer to the buffer containing the command parameters. I need some help as to what value should be passed to each of the members in the structure. any help would be great... Thanks in advance.
-
Hi, I am using Bluesoleil sdk to get the information from a nokia phone on pc and also use the phone's services on pc. I need to get the battery level and signal strength from the phone and display on my gui. The sdk provides an api Btsdk_VendorCommand for this. It uses a structure called BtsdkVendorCmdStru. typedef struct _BtSdkVendorCmdStru { BTUINT16 ocf; BTUINT8 param_len; BTUINT8 param[1]; } BtSdkVendorCmdStru, *PBtSdkVendorCmdStru; The structure BtSdkVendorCmdStru contains information about a vendor specific command . Ocf Specifies the OpCode Command Field value of this vendor specific command. param_len Specifies the size in bytes of the content in the buffer pointer by the param element. Param Pointer to the buffer containing the command parameters. I need some help as to what value should be passed to each of the members in the structure. any help would be great... Thanks in advance.