Smart Bluetooth Forum Discussions
text.format{('custom.tabs.no.results')}
When I right click->Refences->Project on puart_control_enqueue_data() in the puart_control project zero references are returned. This true for all of the functions with the prefix puart_control. However, this isn't the case for every function in the project, i.e. bleprofile_sendReadBlobReq(). Other workspaces are functional.
Is this a bug or is there a problem with my installation?
Show LessHi guys,
I'm attempting to expose the BCM20737 as a HID device, specifically a keyboard. I took a look at the watch example, and tried to adapt it to what I want to do. A couple things don't seem to work, though.
1.) Windows isn't seeing my device as a keyboard, just a generic device
2.) Windows says 'driver error' when trying to connect
My thought is there is likely something wrong with my GATT table. Can you see anything I am doing wrong here?
Here is a link to my db:
In my code, I am simply trying to send the letter 'a' every second:
bleprofile_sendNotification(0x16, (uint8_t *)(&keyboardStatus), sizeof(keyboardStatus));
Where keyboardStatus is
0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00
Thanks,
Nick
Show LessDoes bcm20736 come with a default mac address? Researching through WICED SDK, I see that the mac address can be specified using BT_DEVICE_ADDRESS at compile time. Is that the only mechanism to specify a mac address for bcm20736?
Show LessHello,
I try to communicate with a Windows Phone 8.1 (Nokia Lumia 530 Dual Sim) to a device which has built in the BCM20736S chip.
The device offers two custom services. One of them has a characteristic that defines the following characteristic properties: Read, Write, Notify.
After pairing with and connecting to the device via the Windows Phone Bluetooth system settings, my App works as expected.
The problem starts appearing after closing my App disconnect from the device (it is still paird) and then reconnect to it via the Windows Phone Bluetooth system settings.
When I now configure the characteristic to get notified about incoming data, I get the following exception:
The attribute requires authentication before it can be read or written. (Exception from HRESULT: 0x80650005).
The code throwing the exception is:
await _characteristic.WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue.Notify);
When I remove (unpair) the device via the Windows Phone Bluetooth system settings and pair it once again, the app works as expected again.
Has someone an idea how to solve that issue?
Can someone confirm that the BCM20736S chip is compatible with Windows Phone 8.1?
The same App works in all that situations reliable with a Windows Phone 10 (Microsoft Lumia 950) device.
Show LessHas any explanation been provided on the puart interrupt control bits besides P_UART_ISR_RX_AFF_MASK or is this the only mask I'm expected to use?
Show LessIs there a way to capture more than one ADC measurement per fine interval? I've looked at all the ADC discussions, and apparently there is no way to execute code any more often than the fine timeout will allow, which is every 12 (or is it 12.5?) ms, which is about 80 times a second.
If that is true, then I wonder if there is a way to get more than one ADC reading in the fine timeout? The documentation only mentions adc_readVoltage and adc_readSampleRaw, but the problem with them is that, as far as I understand, they can only get ADC reading as of the moment they are executed. Are there functions that allow us to capture ADC readings that had been happening between fine timeouts? I don't need to process each ADC reading the moment it's available, but I would like to capture and process more than 80 readings per second.
Show LessOn custom hardware using a BCM20736 we boot the BT device and run the mbt tool (SDK v2.2.2)
When we issue the le_transmitter_test command, the output is always at ~2450 MHz regardless of what transmit channel we specify.
When we issue the set_tx_frequency_arm command, the output is also always at ~2450 MHz regardless of the tx_frequency we specify.
We do notice that the output does not look stable... wondering if there are some PLL locking issues.
Need some guidance on how to debug this issue. Thanks
Show LessI am prototyping a product and wonder if drawing on the order of 50mA is acceptable for the board
Is blecm_setTxPowerInADV() still supported in SDK v2.2.2?
I can't seem to find it in any header file or documentation, though my application builds if I include a call to it.
That said, I would like to be able to vary the Tx power of the advertising packets. Is this the correct API to use?
If so, what range of values can I specify?
I read somewhere that it is -10 dBm to 4 dBm in 2dBm steps.
Is my understanding correct?
I have read through all (I think) issues in this forum regarding Tx power but do not see a clear answer.
Show LessHello,
I want to use an Anaren A20737 module to wait for a button press, and then connect to a BLE peripheral (Service and characteristics are known); and send / read some byte, and return back to sleep.
I took the anaren_hello_client project as an example, however I end up with a few problems, and I am not able to find the documentation on how to get this working.
- How should I disable the peripheral function in hello_client? I suppose I could use the bleprofile_Discoverable(NO_DISCOVERABLE, NULL) function to do this, but I suppose it should also be possible to remove a lot of code, making the example more understandable.
- I am trying to make my board connect to my peripheral device. This peripheral device shows up in the function "hello_client_advertisement_report()" function with an UUID advertising flag of "ADV_SERVICE_UUID128_MORE" instead of "ADV_SERVICE_UUID128_COMP". What should I do with this? Can I just accept this and continue connecting? I assume that this means that there are more functions than advertised in the service UUID.
- I tried to accept it, however then there is encryption required for this connection (it seems). When the program continues and reaches "hello_client_connection_up()", bleprofile_p_cfg->encr_required = 3. This is not a valid number when I look into the definition of encr_required in the BLE_PROFILE_CFG struct. From here on I loose the possibillity to find what is going on. Connection fails (trace: "Pairing failed<\r>". Source of this trace is somewhere in objectcode I guess).
Can someone help me with this? Maybe there is a better example to start working from?
I am able to connect using lightblue, or hcitool on commandline linux, and I can also write and read the required values
Show Less