Smart Bluetooth Forum Discussions
I have developed a BLE solution on PSOC4 development kit ( CY8C4248LQI - BL583) and would like to port the code to EZ-BLE modules - in this case more suitable for production. If possible, can you point me to a document that describes how to do this?
Show LessApplications team: grsr riya rroy zhez zhxh yans kavs shjl
Per this thread and others on the same topic: Scan sometimes stops working (continued)
I think I have the same problem...
My sensor is always HIGH_UNDIRECTED_DISCOVERABLE. In the callback hello_sensor_advertisement_stopped function, I restart the bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL ).
My application works fine, I have two buttons in my sensor and I change led's color (to see if my app is not freez...). But when my board is ON more than 12 hours, I can't connect to it.... I can push button to change color, so my app works fine (uart works too) but it's like the BLE is gone in sleep mode.
My soft contains these functions:
void hello_sensor_enter_hidoff(void)
{
// Do nothing
}
void hello_sensor_abort_hidoff(void)
{
// Do nothing
}
the .cgs file contains:
ENTRY "PMU Crystal Warm up Time"
{
"Crystal warm up time" = 5000
}
################################################################################
# Low power configuration
###############################################################################
ENTRY "Sleep Mode Configuration"
{
"Sleep mode" = "HIDD"
"Sleep enable" = 0;
}
##############################################################################
Do you have any idea?
Thanks
Show LessHI,
1, As the application code is stored in the external memory, spi flash or I2C eeprom, it is easy to be copied by anyone. So how to avoid the copy?
2, Does Cyw20735 have the internal storage which can store the application code or user data? If it has, I think we can make some tricky method to protel the application code in the external memory.
Show LessWe have successfully transitioned from the Anaren A20737GR to a Cypress PSoCBLE module.
We bought several reels of parts from Anaren as safety stock during transition, if anyone needs A20737AGR parts to finish their transition, feel free to contact us, we are willing to help.
Herb Gingold, RV Intelligence
Show LessI have found a bug with iBeacon advertising that renders the chip(BCM20736S) essentially useless; The only way to fix this is to toggle the power. The problem is that we tell the chip to start advertising with bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL) and eventually the chip just ceases to actaully advertise. Even checking the bleprofile_GetDiscoverable() says that it is HIGH_UNDIRECTED_DISCOVERABLE but if you use a scanner it does not show up. We have determined it has to do with using iBeacon advertising (ibeacon.a - ibeacon_start() and ibeacon_stop() methods) as when we remove that code this problem does not arise.
To give you a little context on how we have programmed the chip (device) to work and the main problem please see below:
Device and handset flow:
- Pair device with mobile handset
- Once device is connected we stop advertising, read some characteristics, enable some indications(on the handset side) for a button we have and send any button presses to the handset.
- After previous step is done the handset tells the device to disconnect.
- The device then waits 60min to start advertising again (via bleapptimer_startAppTimer). However, pressing the button will make it start advertising (go to step 2).
- After 60min timer goes off it will start advertising again. Then if after 30 seconds of advertising it does not connect the device will stop advertising (go to step 4).
- If it does connect repeat with step 2.
**** What causes the issue ****
For the advertising piece in the above steps if we do:
bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);
ibeacon_start();
It will eventually stop advertising, meaning according to any scanner you will not be able to see the device at all. However, nothing will seem wrong based on internal logs of the device. This usually happens around 10 or so cycles of it not connecting to the handset but can seem random.
**** What does not cause the issue *****
For the advertising piece in the above steps if we omit the ibeacon_start() meaning just do:
bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);
Everything works fine.
So I need help as I have no idea what is happening and cannot use ibeacon advertising which is a main feature of a product I am trying to create.
Show LessHi,
I encounter a situation which needs to find out the difference between data in eeprom of good unit and 'bad' unit, so I need a way to read out data without corrupting them.
Is there any way to achieve this?
Thanks.
Show LessDoes the CYBLE-013025 come pre-programmed with EZ Serial? I recently purchased a few eval boards that did NOT arrive with CYSPP. Also, it is possible to get them pre-programmed at 9600 baud default rather than 115200?
Show LessHi everyone,
I have to interface an I2C device with CYW20719 EVB. Then to configure the sensor, I need to write some data into registers of I2C device. I'm not being able to do that with available APIs with WICED 6.2 SDK. Please suggest how to do that ? Though I can read data from registers with following APIs
UINT8 wiced_hal_i2c_combined_read(UINT8* tx_data, UINT8 tx_data_len, UINT8* rx_data, UINT16 rx_data_len, UINT8 slave);
Show Less