- Jun 6, 2020
- 11,559
- 4,422
I have moved forward and almost got my app to basically work. However I am porting the BLE scan example
to a B4XPages type application. I have run into an issue trying to get the BLE2 library functions/events to callback
to the Subs that were in the old "Main" module but are now in "B4XMainPage" module.
Here is the BLE2 handler for data available event in Starter with my commented out line to try to call the function:
BLE Event Stub for State Changed:
and the function it is trying to call which is in B4XMainPage:
BLE2 Event Sub:
to a B4XPages type application. I have run into an issue trying to get the BLE2 library functions/events to callback
to the Subs that were in the old "Main" module but are now in "B4XMainPage" module.
Here is the BLE2 handler for data available event in Starter with my commented out line to try to call the function:
BLE Event Stub for State Changed:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
and the function it is trying to call which is in B4XMainPage:
BLE2 Event Sub:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید