Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DISCO_L475VG_IOT01A]LED Blinker: Fails to connect with LED app #117

Closed
UrmilaKL opened this issue Jan 25, 2019 · 6 comments
Closed

[DISCO_L475VG_IOT01A]LED Blinker: Fails to connect with LED app #117

UrmilaKL opened this issue Jan 25, 2019 · 6 comments

Comments

@UrmilaKL
Copy link

Description: [DISCO_L475VG_IOT01A]LED Blinker: Fails to connect with LED app

Target: DISCO_L475VG_IOT01A
Toolchain: GCC_ARM
mbed-cli version: 1.8.3
mbed-os->5.11.1

App used: mbed-os-example-ble-LEDBlinker

Steps to Reproduce:
Import project from https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-LEDBlinker/
Edit the mbed-os.lib file to below link to
https://github.com/ARMmbed/mbed-os/#2fd0c5cfbd83fce62da6308f9d64c0ab64e1f0d6
Do mbed deploy to update mbed-os to use the above revision
Do mbed compile -target DISCO_L475VG_IOT01A -toolchain GCC_ARM
In another setup make LED app ready and should be advertising

Expectation: Soon after download LEDBlinker app should connect with LED app

Observation: LEDBlinker connection with LED is not successful, Also in the teraterm unable to see any logs (apart from MAC device BD Address)

Note: Recently they have made some changes to the code, LEDBlinker older version of app is working fine, We have downloaded the latest version of app from https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-LEDBlinker/ site

@jeromecoutant
Copy link
Contributor

jeromecoutant commented Jan 25, 2019

Hi

In your mbed_app.json file, can you add this line:

        "DISCO_L475VG_IOT01A": {
            "target.features_add": ["BLE"],
++        "target.macros_remove": ["MBED_TICKLESS"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"]
        },

And check?

Thx

@LMESTM

@ciarmcom
Copy link
Member

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-798

@jeromecoutant
Copy link
Contributor

Hi

Any update ?

Thx

@UrmilaKL
Copy link
Author

Hi

Just now tried with the above changes to the code now it is working fine

Thanks
Urmila Bhat

@jeromecoutant
Copy link
Contributor

@avilei @apalmieriGH

It seems that BLE is not supporting the deep sleep mode ?
Do you have any advice where we should disable it ?
(ex: ARMmbed/mbed-os#8219)

@linlingao
Copy link
Contributor

@UrmilaKL It seems you got LED working with mbed_app.json update. Is this issue solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants