Smart Bluetooth Forum Discussions
Hi
I am planning to make one IOT BLE mesh gateway using CYBT343026.
Any ideas will be appreciable in this regard.
I have read in the app note that, BLE mesh Proxy gateway code could be used to make a gateway node. I don't know how to start. Can I have some simple steps to realize the Gateway Proxy example( mesh_gateway_proxy.c) for the module CYBT343026.
Thanks,
Naveen
Show LessHi, in _write_handler (peripheral)
len | = legattdb_getAttrValueLen(p); |
is always returns 16, which is the characteristic's length, irrespective of the data being written using the function
bleprofile_sendWriteReq(HANDLE, (UINT8 *)&u8, 1);
form a client, Why?
Show LessCypress有没有可以实现一主20从的蓝牙模块,请帮忙推荐下,谢谢!
Hello!!
I tried BLE Mesh On/OFF client example in wiced platform. It works some time and most of the time it won't work.
What I have done is,
1. I have added one switch on P27 on client.Used both edge trigger as Interrupt. I have attached the code in this conversation. The idea is to send On or off command whenever button pressed. Used 'wiced_bt_mesh_model_onoff_client_set(element_idx, &set_data);'
2. After reading 'Getting Started BLE mesh cypress App note-AN227069, I have added #define LOW_POWER_NODE 1 in the mesh_onoff_client.c. Not changed in makefile.mk.
3. After downloading the code, I used iOS MeshApp for provisioning the client on my network.
4. I have downloaded mesh_onoff_server.c on 2 nodes. Used MeshApp to provision the devices on same network. I can able to switch on/off the LEDs on the server nodes using Meshapp.
Problem:
1.Sometimes, whenever I press the P27 switch. I can able to switch on/Off the LEDs on both the device simultaneously. Most of the times it will not work. I am not getting what is going on the client. I have attached my server and client along with the this post.
2. Another problem is, most of the time the provision also will not be successful .
Am I missing anything in the client application? In the server side, I have added only some of LED's to the code. All other settings left as it is in the example code.
Naveen
Show LessHi,
I am trying to establish a serial connection between either a computer (Windows 10) or between two CyBLE-013025-00 modules. I have gone through the cable replacement example (section 3.2 of the document "EZ-Serial WICED BLE Firmware Platform User Guide",https://www.cypress.com/file/408286/download ), in fact there is no example, only showing the messages during the connection process. I connected the module to a PC (Windows 10) and the device immediately get disconnected with a reason 0x913, see the messages below:
I was expecting something like a new comport, but nothing happens. The device manager shows a new bluetooth device.
Is there any program to send data over this?
For connecting between two CyBLE-013025-00 modules, the document advises to use WICED SMART to develop a program, but no further information.
Show LessHi,
I connected CyBLE013025-00 to USB to serial (FT232) module, and its TX pin (CyBLE Rx pin) is high by default. If I connect the the module Tx pin only with the serial to USB module, I get the following message at start up and listing the device as CySmart mobile app. The startup message is:
@$*#04FF16F7009201020000074A0511801DE100074E0593610000
But it is not booting at all when the USRAT Tx pin connected. I didn't program the device and I am expecting a message starting with @E. P11/27 was floating and tried it connected to ground as well.
Show LessHi,
I tried to use bleprofile_LED functions in find_me example, but ther are not woring. First configured GPIO as
// Following structure defines GPIO configuration used by the application
const BLE_PROFILE_GPIO_CFG find_me_gpio_cfg =
{
{
GPIO_PIN_WP, // This need to be used to enable/disable NVRAM write protect
GPIO_PIN_LED, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 // Other GPIOs are not used
},
/*.gpio_flag =*/
{
GPIO_SETTINGS_WP,
GPIO_SETTINGS_LED, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
};
where the GPIO_SETTINGS_LED is
#define GPIO_SETTINGS_LED | (GPIO_OUTPUT | GPIO_INIT_HIGH | GPIO_LED) |
Then inside find_me_create function, added the following:
gpio_configurePinWithSingleBytePortPinNum(GPIO_PIN_LED, GPIO_OUTPUT_ENABLE, GPIO_PIN_OUTPUT_HIGH);
I am not sure the above step is required, because already configured in BLE_PROFILE_GPIO_CONFIG (but not as output).
After these configurations, the following functions, bleprofile_LEDOff(), bleprofile_LEDOn() and bleprofile_LEDBlink() have no effects on LED. However, LED can be turn on/off using gpio_setPinOutput(0, GPIO_PIN_LED, GPIO_PIN_OUTPUT_HIGH/GPIO_PIN_OUTPUT_LOW) and without using BLE_PROFILE_GPIO_CFG.
What was the wrong I did with BLE_PROFILE_GPIO_CFG?
Thanking You.
NV
Show LessHi,
I am working with the find_me application provided in the users guide project ("Getting Started with EZ-BLE WICED Modules", https://www.cypress.com/file/396961/download).
How can we change the bleprofile_LEDOff() and bleprofile_LEDOn functions polarity (0 => OFF, 1 => ON) ?
I changed the following in profile.h
#define GPIO_SETTINGS_LED | (GPIO_OUTPUT | GPIO_INIT_LOW | GPIO_LED) |
and in find_me.c
gpio_configurePinWithSingleBytePortPinNum(GPIO_PIN_LED, GPIO_OUTPUT_ENABLE, GPIO_PIN_OUTPUT_LOW);
but I guess it only changes the initialization value.
Another problem is the LED is not turning on or blinking even though the On/Off functions are called (use ble_trace functions to confirm this). I used "clean" make target after changing the platform header files.
Show LessHi,
I am following the guide "Getting Started with EZ-BLE WICED Modules" (https://www.cypress.com/file/396961/download), Part 1: Configure the Design (p. 20 to p.25). I installed the CYBLE_013025_EVAL platform files correctly (in the document it is installed after creating the code, p.23 - p.24), but I got the make target as "find_me-BCM920737TAG_Q32 download" the guide says it will be "find_me-CYBLE_013025_EVAL" instead. The guide doesn't provide any other information about how they changed the platform after installing the necessary platform files. Since I didn't see any option to select a platform I can't can't change the platform or make target.
How can I select a platform in WICED Smart SDK 2.2.3?
My LED blinking is not changing with the alert levels (completed "Part 2: Write the Firmware" of the guide), I think the problem is with the incorrect platform selected.
Thanks in advance.
NV
Show LessHi,
What is the default firmware in CyBLE013025 modules? I got the following message while booting but I couldn't find anything for the messages starting with "@$"
@$*#04FF16F7009201020000074A057EEA5ECC00074E05D3160000
CYBLE-013025-00 manual says, the device is "Pre-programmed EZ-Serial firmware platform to allow for easy-to-use out of the box Bluetooth Low Energy connectivity", but it is not behaving like EZ serial.
Show Less