PSoC 6 101 lesson 3-2a creating a BLE custom service...

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BRFL_4822626
Level 1
Level 1
First like received First reply posted First question asked

Hello:

I Have been following along on the video PSoC 6 101 lesson 3-2a creating a BLE custom service...  PSoC 6 101: Lesson 3-2a Creating a BLE Custom Service for Robotic Arm Project (MainController) - You...

At about 6:55 into the video Alan introduces a function called genericEventHandler(...),  He "magickly" pasted this into main_cm4.c without any explaination of where it came from etc.  It was not covered in any previous lesson.  Also there was a comment that says "all of the code for these tutorials is on GitHub.

Can someone / anyone please tell me where exactly in GetHub that example is ?

Thanks

Brian F.

0 Likes
7 Replies
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA
0 Likes

Hello Motoo:

That is exactly it.  How did you ever find that?

Thanks so much Brian

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Brian-san,

> That is exactly it.  How did you ever find that?

I wish they have put the URL in the video page.

I found it doing the steps below.

(1) I went to GitHub.com

001-github.JPG

(2) Enter "cypress psoc6 101" In the upper left search box, next to the cat? icon.

010-search-cypress-psoc6-101.JPG

(3) The search result showed "cypresssemiconductorco/PSoC6-101-Video-Projects", so I clicked the line

011-search-result.JPG

(4) I arrived at the "PSoC6-101-Video-Projects" page and found that there is a PSoC_6_101 folder.

     I selected the folder.

012-PSoC6-101-Video-Projects.JPG

(5) Now I can see folders of each chapters, so I scroll down to 3-2- and selected the folder

013-PSoC5-101-Video-Projects.JPG

(6) Now we are in the project of 3-2-SimpleBLEPeripheral.cydsn/

Scroll down to find "main_cm4.c" and selected it

014-PSoC6-101-3-2.JPG

015-main_cm4_c.JPG

Best Regards,

1-Dec-2020

Motoo Tanaka

Tanaka-san ohio gosaimas!

This is Arath from Mexico, need to contact you!

I could not find how to send you a direct meessage.

I appreciate your support

Domo Arigato!

arath.palomera@gmail.com

0 Likes

Thanks so much for the very detailed explanation etc.

One final question... Did it run for you? As I can not even get it to advertise etc.

Thanks Brian

0 Likes
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Brian-san,

> One final question... Did it run for you? As I can not even get it to advertise etc.

Reading this line, I laughed a lot...

But then, when I checked my study directory...

I noticed that I was dead before reaching to this lesson.

As in the Lesson 3-1 following line was not compile-able,

I could not finish the lesson 3-1.

xTaskCreate(bleTask, "bleTask", 8*1024, 0, 2, &bleTaskHandle) ;

I remembered that I wasted a lot of time on this (;_;)

By seeing the github source and/or watching the Lesson 3-2a

now I know that it was supposed to be

xTaskCreate(bleTask, "bleTask", 8*1024, 0, 2, 0) ;

So I followed the Lesson 3-1 and Lesson 3-2a, again.

Except the line above, the samples seem to be working.

Probably you have missed something in the content.

Attached is my copy of the Lesson 3-2a.

Best Regards,

3-Dec-2020

Motoo Tanaka

P.S. If you have tried the Lesson 3-1, you did not need to access github,

but then you may not have been able to finish the Lesson 3-1 because of the reason above

0 Likes

Thanks I'll give you attached a try.

Brian