Quantcast
Channel: Delphi – The Wiert Corner – irregular stream of stuff
Viewing all articles
Browse latest Browse all 1445

CodeRage 9 Q&A: Bluetooth Classic and LE Programming with VCL and FMX (Diego Navarro)

$
0
0

Session:

Bluetooth Classic and LE Programming with VCL and FMX

Level: Intermediate
Diego Navarro – Embarcadero

Q&A:

Audience Question

Audience Question

  • Q: can you please paste links int the chat window
  • A: Which link? I don’t have them in text if they are from the video, so I am just typing them in.

Audience Question

Audience Question

Audience Question

  • Q: On PC’s there is a CAMERA ICON on the upper right. of the Webinar window. I just snapshot the interesting pages and follow links later.
  • A: Good tip David!

Audience Question

Audience Question

Audience Question

Audience Question

  • Q: There is currently no common Bluetooth low energy Application Program Interface (API) for Android devices available
  • A: TBluetoothLE

Audience Question

Audience Question

  • Q: The sensor tag use BLE that is implemented in BT4.0. To work with Android you need Android with BT4.0 and OS 4.3+ (older version of Android doesn’t support BT 4.0)
  • A: Correct. :-)

Audience Question

  • Q: Can the Sensor tag be used with Android?
  • A: Yes, of course

Audience Question

  • Q: What is the accuracy of the gyroscopic sensor of SensorTag?
  • A: It’s really nice, the same chip is used in a lot of other devices, it’s not just a toy :)

Audience Question

  • Q: There is currently no common Bluetooth low energy Application Program Interface (API) for Android devices available
  • A: Yes, there is, since Android 4.3

Audience Question

  • Q: How can we find “custom” services from a Arduino Bluetooth LE Shield ? My app find the device but no services
  • A: It depends if the device is advertising the services.

Audience Question

  • Q: Got that now — apparentyl my Nexus 7 (2013) has it — so I’m OK
  • A: Good.

Audience Question

  • Q: Got that now — apparentyl my Nexus 7 (2013) has it — so I’m OK
  • A: yep, you Nexus 7 is fine for Bluetooth

Audience Question

  • Q: Can last connected device data be stored and be restored when app reboot?
  • A: it’s not useful, you can start doing a new startDiscover to get the devices around.

Audience Question

  • Q: Can I send binary data trough bluetooth?
  • A: Yes, right, you can, but Bluetooth LE is not intended for that, the bandwidth is so small, around 1 kB/s (LE)

Audience Question

  • Q: Can you provide a link where we could download the source code of your demo?
  • A: Diego will provide a download link for the sensor tag. You can find the rest with the samples folder.

Audience Question

  • Q: Working on Android with TBluetoothLE component i noticed that subscribe characteristic work only with the device/sensor that support notification property and not indication property. It is possible? Is something that will be available on update1? Thanks
  • A: That should be working.

Audience Question

Audience Question

  • Q: Do you know if the BLE component works with BT devices implemented Mesh technology?
  • A: Need to check. Unsure.

Audience Question

  • Q: How can we get the UUID of the device found?
  • A: Not recommend. Look for devices that implement the service you need.

Audience Question

  • Q: DavidI, where can I see your awesome video,”codemonkey”? I want to see it again. It’s parsonal question..
  • A: This is Jim. I’ll try to find an opportunity to show it again today. It isn’t available anywhere but here yet.

Audience Question

  • Q: Mesh technology is kind of distributed network of BT devices that connect each other to spread the BT messages to devices that can be out of range.
  • A: It should work.

Audience Question

Audience Question

  • Q: One hint: don’t forget to add “bluetooth” to the uses permissions on android.
  • A: Good tip.

Audience Question

  • Q: Can we find or uses non advertised “custom” services?
  • A: You need to know about the UUID and sservices and then you can connect and use them.

Audience Question

Audience Question

  • Q: Will order a sensor and give this a try $25 — spent more on lunch most days. :-) Digikey, Newark and Mouser carry them if you need some help finding one. Also the TI store.
  • A: :-)

Audience Question

  • Q: The radio rate is 2Mb/sec. I suspect mesh is limited or impractical. The spec doc should make it more clear. Only 354 pages — happy reading. Link above.
  • A: :-)

Audience Question

  • Q: Diego Navarro blog address?
  • A: Stay tuned to Delphi.org and I will make sure and link to his post when it is available.

Audience Question

  • Q: In proprietary mode, the CC2541 radio supports data rates up to 2 Mbps, and has extensive baseband automation, including auto-acknowledgment and address decoding. The RF Core controls the analog radio module and the RF transceiver state. In addition, it provides an interface between the MCU and the radio which makes it possible to issue commands, read status, and automate and sequence radio events. It has 1 KB of dedicated RAM, which holds the 128-byte transmit and receive FIFO. This chapter describes the proprietary mode operation of the CC2541 devices and features in the LLE program. For Bluetooth low energy operation, see Chapter 24.
  • A: Thanks!

Audience Question

  • Q: this just gets better and better every time I see it
  • A: Thanks!

Audience Question

  • Q: Great presentation! especially the TI sensor implementation .
  • A: Yes, I agree.

Audience Question

  • Q: DavidI, I am sad that I can’t find the page of “http://delphi.org/CodeMonkey”. It causes 404 error.
  • A: Yes, it isn’t available yet. I’ll have the video online soon. For now it is just for CodeRage attendees. BTW, this is Jim McKeeth. ;-)

Audience Question

  • Q: We all have our pet projects in delphi. Here’s mine. Halloween light show with sound in my front yard controlled by delphi DMX Lighting system platform I created.
  • A: Nice

Audience Question

–jeroen

via: CodeRage 9 – Object Pascal Sessions.


Filed under: Appmethod, Delphi, Delphi XE7, Development, Software Development

Viewing all articles
Browse latest Browse all 1445

Trending Articles