Recent

Author Topic: LAMW: how to work with BLE device?  (Read 1966 times)

Ritt

  • New member
  • *
  • Posts: 6
LAMW: how to work with BLE device?
« on: March 25, 2019, 07:00:45 am »
I would like to connect to BLE devices, I think it need to use BluetoothGatt class. Did I need to create a new component? any help?

jmpessoa

  • Hero Member
  • *****
  • Posts: 1792
Re: LAMW: how to work with BLE device?
« Reply #1 on: March 25, 2019, 07:21:07 am »

Yes!

I will Try  some solution!!!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

svd71

  • New Member
  • *
  • Posts: 16
Re: LAMW: how to work with BLE device?
« Reply #2 on: July 09, 2020, 10:33:15 pm »
Hi jmpessoa,

what about the topic? can LAMW work with BLE devices?

jmpessoa

  • Hero Member
  • *****
  • Posts: 1792
Re: LAMW: how to work with BLE device?
« Reply #3 on: July 10, 2020, 03:13:46 am »
Quote
can LAMW work with BLE devices?

I haven't been able to implement it yet ... BLE is a difficult task for me .... (I don't really understand the subject ...)

Edited:  Can you do some test? (I dont have a BLE device...)
« Last Edit: July 10, 2020, 03:53:07 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Ritt

  • New member
  • *
  • Posts: 6
Re: LAMW: how to work with BLE device?
« Reply #4 on: February 26, 2021, 07:34:19 am »
I can connected to the device,but it didn't enter the OnConnected Event

jmpessoa

  • Hero Member
  • *****
  • Posts: 1792
Re: LAMW: how to work with BLE device?
« Reply #5 on: February 26, 2021, 05:50:18 pm »

Hi, Ritt!

I will update it today!

Please, wait....

And yes, I need some help and tester!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 1792
Re: LAMW: how to work with BLE device?
« Reply #6 on: February 27, 2021, 07:18:27 am »

Done!

Update "AppBluetoothLowEnergyDemo1"   [alpha]

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Ritt

  • New member
  • *
  • Posts: 6
Re: LAMW: how to work with BLE device?
« Reply #7 on: March 01, 2021, 04:47:32 am »
Thanks a lot! It work!   I'll try some other test.

Ritt

  • New member
  • *
  • Posts: 6
Re: LAMW: how to work with BLE device?
« Reply #8 on: March 01, 2021, 10:26:52 am »
the result of GetCharacteristicProperties is cpUnknown,  but I think it should be READ, WRITE and NOTIFY, just like the second picture

 

TinyPortal © 2005-2018