I am using MKW38[FRDM-KW38 board].
Based on Example code [adv_ext_central_freertos],
I am trying to Always Scan mode.
I added debug message "<S>" when adv device is found.
When I conduct Long run test. a certain time[ex: 72hours later] Scanning doesnot work anymore.
At this moment, and from this moment. scanstop & ScanStart does not work.
[After scanstop & scanstart, Scanning does not work anymore].
Can Anybody help to conduct never stop scan ?
Dear @Christine_Li
<S> -> mean found ble device (do not try to connect)
after hours <S> does not shown
SDK version is 2.6.xxx
I have uploaded code ; frdmkw38_adv_ext_central_freertos_02.zip
Sustain Scan Start for Good.
Hi, @JungkyuHan1
Thanks for creating case to us.
I will look at into this, and let you know if I have any updates.
Best regards,
Christine.
Hi, @JungkyuHan1
Thanks for sharing your project.
I checked our code and your code, I think FRDM-KW38 could not scan again because of the modifications in your code: adv_ext_central.c
I suggest you to double check your modifications.
And for your info, I checked the default example code with FRDM-KW38, it can work well.
For the modifications you did by yourself, it is better check by yourself, actually out of our support limit.
Please let me know whether have any other concerns on this case.
Best regards,
Christine.
Hi, @JungkyuHan1
What is your SDK version?
I know you are using this example: frdmkw38_adv_ext_central_freertos.
What modifications did you do in our default SDK example code?
Let me prepare same environment to see whether can reproduce it locally.
Best regards,
Christine.
SDK : 2.6.xx
As I tested two options but same result,
1.Sustain Scan Start for Good. : SCAN fail
2.Repeat -Scan Start (60s) -> Scan Stop : SCAN fail
Hi, @JungkyuHan1
Thanks for your reply.
I am still checking on this.
At the same time, would you please have a try with our newer release: SDK 2.6.917 to see whether this issue already fixed in the newer release?
Any way, I will continue to check with the same SDK version as you mentioned on SDK 2.6.615.
Best regards,
Christine.
Dear Christine_Li
Thank you
I will try the latest SDK,
BTY, where can I get the SDK 2.6.917 ?
I can't find the file
Hi, @JungkyuHan1
You can visit this website:
https://mcuxpresso.nxp.com/select
input KW38, choose FRDM-KW38, then click the SDK version, it will list all of SDKs.
Please see below screenshot.
Best regards,
Christine.
Dear Christine Li
Could you help me?
In my site. the latest version is 2.6.15
Sorry, My mistake!
The .xxx version is not our official SDK version, it is for internal only.
The .xx version is official SDK version. So, it looks the 2.6.15 is the latest official release.
Best regards,
Christine.
Dear Christine Li
Does this systom reproduced on your site?
Is there any updated information?
Hi, @JungkyuHan1
No, not reproduced yet.
But as mentioned, I think it is related to the code you modified. Can you please double check your modifications?
At the same time, I will continue to dig about this.
Best regards,
Christine.
Dear @Christine_Li
Please Keep trying.
As you can compre to org example code.
What I just modified is that "Scan Restart" when scan stop timer expired.
[with some debug message].
Hi, @JungkyuHan1
Yes, I will.
And today I tried with our original project, tested several times, it works fine as shown below:
Extended Advertising Application - Central
Press WAKESW to Start Active Scanning!
Press WAKESW Long to Start Passive Scanning!
Active Scanning Started
Stop Scanning
Active Scanning Started
Found AE peripheral device0060373AC405
Found device:
EA*PRPH0060373AC405
Connected!
Temperature: 25 C
Disconnected!
Active Scanning Started
Found AE peripheral device0060373AC405
Found device:
EA*PRPH0060373AC405
Connected!
Temperature: 25 C
Disconnected!
Active Scanning Started
Found AE peripheral device0060373AC405
Found device:
EA*PRPH0060373AC405
Connected!
Temperature: 25 C
Active Scanning Started
Disconnected!
Stop Scanning
Active Scanning Started
Found AE peripheral device0060373AC405
Found device:
EA*PRPH0060373AC405
Connected!
Temperature: 27 C
Disconnected!
And I want to confirm with you whether have connected any device when you see this issue?
Or only just scanning?
And for sure I will continue to check, once have any updates, will let you know.
Best regards,
Christine.
Dear @Christine_Li
Thank you for your support.
Q: And I want to confirm with you whether have connected any device when you see this issue?
Or only just scanning?
->A: I prevent connection. there is no connectable device near the test device.
I Only conducting scanning [long run]test.