Smart Bluetooth Forum Discussions
Hi,
Is there sample code to test NFC functionality, specifically NFC payment?
We are developing a product that will use BCM20737 as a payment device and interact with
NFC payment systems at stores.
We've installed WICED smart SDK v2.1.1 and can see only BLE samples in the project.
Any help on this would steer our project in the right direction.
Best Regards,
Vinay
Show LessHello,
I am currently designing a PCB and i am placing the BCM20737S on it. I have designed the the footprint. I am looking for information around the antenna and routing traces. What pin is the antenna connected to? When is says bring all traces out on side d and side c, is this on any layer besides the ground plane layer?
any other information around this would be great.
Regards,
Luke.
Show LessHi,
Is it possible to set passKey lenght to 4 digits? I have checked example where passkey=123456 and tried to modify it to passkey=1234.
To do so I have changed passKey to:
//passkey=1234(dec)-> HEX 0x000004D2 -> 0x00 0x00 0x04 0xD2 -> (little endian) 0xD2 0x04 0x00 0x00
const UINT8 passKey[LESMP_MAX_KEY_SIZE] = {0xD2, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
And i tried to modify: lesmp_setSMPassKey((UINT8*)passKey, LESMP_MAX_KEY_SIZE); to lesmp_setSMPassKey((UINT8*)passKey, 4);
That didn't work. Any help would be usefull.
Best Regards
Show LessHi Sir ,
I have six 20737s devices and use 2.2.1 sdk.
I look "hello_client" project , it define a variable
#define HELLO_CLIENT_MAX_SLAVES | 4 |
and look "puart_control" project , it define a variable
#define PUART_CONTROL_MAX_CONNECTIONS | 8 |
I use puart_control project do actual test , Max can connections only four ,
When I try to connect a fifth device , the debug port display "connection failure" ,
Really can support connections to eight devices?
thanks you !
Show LessI have a custom include file (foo.h) that is being included in the main project file (bar.c). If I make changes to the #defines in foo.h that are used in bar.c, running the make target in the make window doesn't appear to trigger a rebuild of bar.c. Also, I've been unable to find how to trigger a "rebuild all" for the project.
This has all the earmarks of a problem with the configuration of the make file, but my lack of familiarity with eclipse and my newness to this platform are hindering my efforts at resolving this issue. Any suggestions?
Thanks,
David
Show LessHi Arvinds and ehoffman
Per this thread: BCM20736S NVRAM functions for External I2C EEPROM Device
We are trying to have our own OTA update scheme. For the purpose am trying to read/write a SS as well as DS area of the i2c EEPROM using APIs serEepromRead() and serEepromWrite(). In both cases the rAPI call returns fail. Do we need to do any initialization or where am wrong in calling the APIs. The shortage of documentation of the APIs make it hard to debug the issue.
Sample code with which i was trying to access i2c EEPROM:
Write operation:
wv = 0xad;
if(serEepromWrite((UINT16)0x001a, (UINT16)1, &wv, (UINT8)0x00))
ble_trace0("EEPROM Write Fails!!!");
else
ble_trace0("EEPROM Write Succes");
Read operation:
if(serEepromRead((UINT16)0x0140, (UINT16)20, buf, (UINT8)0x00))
ble_trace0("EEPROM Read Fails!!!");
We are working with SDK 2.2.1.7
In both cases it returns "failed".
Any help is highly appreciable.
Thanks and regards
Rajesh Kumar V
Show LessHi there,
We've built a custom board with the BCM20737S SiP module. Prior to the board arriving I've been using a TAG3 board as a development platform (SoC).
Should apps I've developed for the TAG3 board work on the SiP module?
So far, I've successfully downloaded the app, changed to application mode and ran the app. In the create() function I have a ble_trace0("hello world"), which I can see fine. GPIO interrupt debug messages also work i.e. ble_trace0("button pressed"). However, ble_trace0("fine timer tick") in my fine timer callback does not display. Any ideas why this might be the case?
One thing to note is that due to the hardware setup on our custom board, I can only debug using the peripheral UART. To do this, I have the following in my APPLICATION_INIT() function:
bleapp_trace_enable = BLE_TRACE_UART_PERIPHERAL;
When I run the same code on the TAG3 board, with the above line commented out so that HCI is used for ble_trace0, the fine timer debug message appears to be fine.
So my issue is either with using the peripheral UART for debugging, OR with the timer on the BCM20737S.
Can you help? Do I need to create new platform directories in the Platforms and Include/Platforms directories?
How do I decrease the baud rate of the ble_trace0 comms?
Thanks in advance!
Hello,
I am looking to set my pressure sensor up which talks over I2C with a BCM20737S. Hardware wise i am ok.
I am not familiar with the M0 libraries. How would you go about initializing the I2C? I need to set my SCL clock speed to 400KHz. My slave address is 0x21h. I do not need to write to the pressure sensor, only read. What is the best way to read incoming data?
Any examples that could help?
Regards,
Luke.
Show LessHi
Im using Wiced Sense Tag (BCM920737TAG - BCM20737S), controlled by Android (4.4.2 or 5.0.1). I often get disconnections with reason 0x08 (sometimes after minute, sometimes after 10 minutes).
After connection is up i change connection parameters to:
lel2cap_sendConnParamUpdateReq(64, 96, 0, 500);
I have tried also
lel2cap_sendConnParamUpdateReq(80, 400, 0, 700);
lel2cap_sendConnParamUpdateReq(6, 6, 0, 500);
Disconnections always exist (I have checked that Samsung and LG devices respect this configuration, but Sony always set 32,0,700). I have tried running app in a few places, but it was always the same.
After disconnection my Android app try to reconnect, but it usually cannot download characteristics.
How can i prevent this random disconnections?
Here is sample log:
14:50:39 - connection_up()
14:50:39 -
14:50:39 - connection_up() ok exit
14:50:39 -
14:50:39 Connection is UP.
14:50:39 connUp
14:50:39 noAdv
15:02:57 - connection_down()
15:02:57 -
15:02:57 - connection_down() disc reason 8
15:02:57 -
15:02:57 - connection_down() ok exit
15:02:57 -
15:02:57 SMP Conn Down
15:02:57 connDown
15:02:57 ConnDnStopIdlTmr
15:02:57 blecen_connDown[5:2]: 00 04 81 bb
15:02:57 blecen_connDown[1:0]: 00 04, handle: 0000
15:02:57 ScanOn
15:02:57 ScanTimer stopped: 0
15:02:57 BLE_high_scan:timer(0)
Show LessHi,
I am trying to make a custom OTA update scheme for our product. For the purpose am looking on the support of I2c EEPROM read/write APIs. The requirement is to access either the DS or SS by explicitly by specifying ant arbitrary the address of the EEPROM.
Also is there any external tool to read / write i2c EEPROM.
Regards
Rajesh Kumar V
Show Less