hi guys, i'm trying to program a Beacon based on CC2541 soc and BLE stack1.4.
I have Minew Beacon with two Led and one KEY.
I've seen the examples that are in folder BLE after installation BLE Tool, but it's very hard because I have never had experience programming firmware.
So i explain we that is my target.
I wolud have a beacon that advertisement indefinitely, so i can get the rssi value for distance calculation.
for this i've find GAP_ADTYPE_FLAGS_GENERAL.
Now to understand the basic concepts, i would turn on or turn off the two led installed on my board when i tun on or turn off my boad used key.
After i'm flashing the firmware simpleBLEPeripheral i can see the red light fixed on, and it's don't change even if edit the code below
HalLedSet( (HAL_LED_1 | HAL_LED_2), HAL_LED_MODE_OFF );
there is a method or service that returns the state or the presence of KEY or LED or other peripheral and at which port, of cc2541, their are connected?