profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/trarbr/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Troels Brødsgaard trarbr Svendborg, Denmark

nerves-project/nerves_system_rpi3 88

Base Nerves system configuration for the Raspberry Pi 3

Klockz/Projekt-Leisner 0

School Project

MagpieTeam/router 0

awesome

trarbr/3-semester 0

notes from 3rd semester Comp Sci in Odense, Denmark

trarbr/3-semester-src 0

solutions to code problems from 3rd semester Comp Sci in Odense, Denmark

trarbr/akka-bootcamp 0

Akka.NET from Soup to Nuts code samples and tutorials

trarbr/blue_heron 0

Use Bluetooth LE in Elixir

trarbr/cqerl 0

Native Erlang CQL client for Cassandra

create barnchtrarbr/blue_heron

branch : add-peripheral

created branch time in 3 hours

push eventtrarbr/blue_heron

Jon Carstens

commit sha 69a51176457bfd21f8d8f65232beddc4b85d11f1

add CI shield to README.md

view details

angrycandy

commit sha 3ce85e74704a2258697655e0e9d560add2011905

Update README.md * Fix https://github.com/blue-heron/blue_heron/examples 404 error.

view details

Troels Brødsgaard

commit sha e7c36efca234ffcdaf66be1b1742216590115beb

Add some ATT commands required for GATT

view details

Troels Brødsgaard

commit sha 72fbc39f2b576eb205fd2376787fb82c7a7b13ee

Add ATT commands for Write Long Characteristic Values

view details

Troels Brødsgaard

commit sha cf5b3e2b4070d5750cf2df2c462b31ab304fa801

Add ATT commands Find By Type Value Request/Response

view details

Troels Brødsgaard

commit sha 5fb088f1aec83ea4ed2f03f303d2d40b1e546e2b

Add ATT commands for GATT indications

view details

Connor Rigby

commit sha 3730400f8ac4d5a70337934749fff1ad0a280065

v0.2.1 release

view details

push time in 3 hours

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha e33c2e5184e6c1485983b666efe0558c4326defe

Add ATT commands Find By Type Value Request/Response

view details

Troels Brødsgaard

commit sha fd223b2b38250c2bba3bd4bdb6f6648763775530

Add ATT commands for GATT indications

view details

push time in 7 days

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 9513004ced8ccd4f96f8ba7e82d22b320eb39d06

Add ATT commands for Write Long Characteristic Values

view details

push time in 7 days

PR opened blue-heron/blue_heron

Add some ATT commands required for GATT

This adds:

  • FindInformationRequest and FindInformationResponse (used in CHARACTERISTIC DESCRIPTOR DISCOVERY procedure)
  • ReadRequest, ReadResponse, ReadBlobRequest and ReadBlobResponse (used in CHARACTERISTIC VALUE READ procedure)
  • WriteRequest and WriteResponse (used in CHARACTERISTIC VALUE WRITE procedure).

Still plenty of ATT commands to go.

Note that there's a bit of footgun here. Whatever the ATT request/response contains, it must not be larger than the ATT_MTU (which by default is 23 bytes). I'm not sure how this would be handled best? For now the solution is to let the user worry about it, which works for my use case, but should probably be fixed eventually.

+176 -1

0 comment

9 changed files

pr created time in 8 days

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 6b144f1e5b3484bd2851fdb9f16d68e6ebf0d0fb

Add some ATT commands required for GATT

view details

push time in 8 days

create barnchtrarbr/blue_heron

branch : add-att-commands

created branch time in 10 days

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 9dd64a4ac3a25247e74e6ee89932ff7d8f19ec5d

Add SetScanParameters HCI command

view details

Troels Brødsgaard

commit sha 78943ba3bcf4b4c82f6eb9e2663ac08d420e37f4

Add ReadWhiteListSize HCI command

view details

Troels Brødsgaard

commit sha 3031a9ecd5d06524a76da2e5de7f7581fcc89c24

Add WriteLEHostSupport HCI command

view details

Troels Brødsgaard

commit sha 0b36b36ec6ad4eb7d832db037e7324a2949a99ba

Add ReadBufferSizeV1 HCI command

view details

Troels Brødsgaard

commit sha 2d2343ff06b59f62fe3230951b6114eabfa93629

Add WriteDefaultErroneousDataReporting HCI command

view details

Troels Brødsgaard

commit sha 2252e7051076436eb0fc7e1a1b0017db12f54620

Add WriteSynchronousFlowControlEnable HCI command

view details

Troels Brødsgaard

commit sha cfb644c9bc4189cd451cfce97e9b4d226dfc62e5

Add missing HCI commands to the module list for code generation

view details

Troels Brødsgaard

commit sha 031eb670c1c4922abf0601420d2773a3945c8ac5

Fix return parameters for ReadBufferSizeV1 HCI command

view details

Troels Brødsgaard

commit sha c612fc04f1633606eba7e49f220e4ee7facb4784

Add LE advertising HCI commands

view details

Troels Brødsgaard

commit sha af541cce44f46ba7a3196031b9907a544323ec7a

Add missing HCI commands to the module list for code generation

view details

Jon Carstens

commit sha 7bf6c970639195257763d82c117c4744eaebacc4

fix tests

view details

Jon Carstens

commit sha 06d6bad9bfa3084f746a5384bc25efa5dead3227

mix format

view details

Jon Carstens

commit sha 7123740c02fa60e141a748dd25bf68b70bc15b04

fixes for dialyzer

view details

Jon Carstens

commit sha c643e417bb128265521b112c61280e35f402d5ff

add CI

view details

Jon Carstens

commit sha 3af068a682ac339e5f3754c78de51894cfcd7579

bump deps

view details

Jon Carstens

commit sha e5d4c06c003cdbfd535383dffc508119fb982341

cleanup docs

view details

Jon Carstens

commit sha 6d558bab50ceae7ab0a5fe4d2be43b518e1a6662

v0.2.0 release

view details

push time in a month

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 9dd64a4ac3a25247e74e6ee89932ff7d8f19ec5d

Add SetScanParameters HCI command

view details

Troels Brødsgaard

commit sha 78943ba3bcf4b4c82f6eb9e2663ac08d420e37f4

Add ReadWhiteListSize HCI command

view details

Troels Brødsgaard

commit sha 3031a9ecd5d06524a76da2e5de7f7581fcc89c24

Add WriteLEHostSupport HCI command

view details

Troels Brødsgaard

commit sha 0b36b36ec6ad4eb7d832db037e7324a2949a99ba

Add ReadBufferSizeV1 HCI command

view details

Troels Brødsgaard

commit sha 2d2343ff06b59f62fe3230951b6114eabfa93629

Add WriteDefaultErroneousDataReporting HCI command

view details

Troels Brødsgaard

commit sha 2252e7051076436eb0fc7e1a1b0017db12f54620

Add WriteSynchronousFlowControlEnable HCI command

view details

Troels Brødsgaard

commit sha cfb644c9bc4189cd451cfce97e9b4d226dfc62e5

Add missing HCI commands to the module list for code generation

view details

Troels Brødsgaard

commit sha 031eb670c1c4922abf0601420d2773a3945c8ac5

Fix return parameters for ReadBufferSizeV1 HCI command

view details

Troels Brødsgaard

commit sha c612fc04f1633606eba7e49f220e4ee7facb4784

Add LE advertising HCI commands

view details

Troels Brødsgaard

commit sha af541cce44f46ba7a3196031b9907a544323ec7a

Add missing HCI commands to the module list for code generation

view details

Jon Carstens

commit sha 7bf6c970639195257763d82c117c4744eaebacc4

fix tests

view details

Jon Carstens

commit sha 06d6bad9bfa3084f746a5384bc25efa5dead3227

mix format

view details

Jon Carstens

commit sha 7123740c02fa60e141a748dd25bf68b70bc15b04

fixes for dialyzer

view details

Jon Carstens

commit sha c643e417bb128265521b112c61280e35f402d5ff

add CI

view details

Jon Carstens

commit sha 3af068a682ac339e5f3754c78de51894cfcd7579

bump deps

view details

Jon Carstens

commit sha e5d4c06c003cdbfd535383dffc508119fb982341

cleanup docs

view details

Jon Carstens

commit sha 6d558bab50ceae7ab0a5fe4d2be43b518e1a6662

v0.2.0 release

view details

Troels Brødsgaard

commit sha baaabbf66f549d6eb86c4e1f2ecb3d528599bc1b

Add HCI commands and events for Simple Pairing Only supports happy path of Numeric Comparison with Just Works

view details

push time in a month

PR opened blue-heron/blue_heron

Add LE advertising HCI commands

This PR adds commands related to LE advertising.

I left out serialization/deserialization of advertisement data intentionally. I think this should be handled by another layer than at the HCI command level.

+231 -0

0 comment

7 changed files

pr created time in a month

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 7145d54815ec64d9eedd1dcff16d2777c6dfca0c

Add LE advertising HCI commands

view details

push time in a month

create barnchtrarbr/blue_heron

branch : add-basic-advertising

created branch time in a month

create barnchtrarbr/blue_heron

branch : add-basic-pairing

created branch time in a month

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 531ed578ef7e501302e305bef1c18f1abe1c968d

Add missing HCI commands to the module list for code generation

view details

Troels Brødsgaard

commit sha cc063f41f2a09ada1c8f1ca60aef50596d344e68

Fix return parameters for ReadBufferSizeV1 HCI command

view details

push time in 2 months

pull request commentblue-heron/blue_heron

Add remaining default hci commands

@ConnorRigby I found that I've forgotten to update the list of modules here so some things, like deserializing return parameters currently doesn't work. I'll get it added tomorrow.

trarbr

comment created time in 2 months

PR opened blue-heron/blue_heron

Add remaining default hci commands
+392 -6

0 comment

13 changed files

pr created time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha b4caf657ed51972f06266a9c4757aa832945718f

Add WriteSynchronousFlowControlEnable HCI command

view details

push time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 16cc23c6ab1704ea81cfa821dd7236645a564362

Add WriteDefaultErroneousDataReporting HCI command

view details

push time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 3e21f5b3e273f48197d933b064c3bac6c4aa0194

Add ReadBufferSizeV1 HCI command

view details

push time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha fded3a9603bbf1177e0eb5395ac80c764c2560ad

Add ReadWhiteListSize HCI command

view details

Troels Brødsgaard

commit sha 58e86762838fcc3920d12a0cb1d829368f1d9515

Add WriteLEHostSupport HCI command

view details

push time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 562ae8ccc7ad8191d4cf7e171a7e18979fd700ff

Add WriteScanEnable HCI command

view details

Troels Brødsgaard

commit sha ccecea26002485163448a226180e3a0f1e478724

Fix WriteScanEnable HCI command

view details

push time in 2 months

create barnchtrarbr/blue_heron

branch : add-default-hci-commands

created branch time in 2 months

Pull request review commentblue-heron/blue_heron

Fix WriteScanEnable HCI command

 defmodule BlueHeron.HCI.Command.ControllerAndBaseband.WriteScanEnable do    defimpl BlueHeron.HCI.Serializable do     def serialize(%{opcode: opcode, scan_enable: scan_enable}) do-      <<opcode::binary, scan_enable::little-16>>+      <<opcode::binary, 1, scan_enable>>

Yep, I missed it at first as well 😄 But the 1 byte is the Parameter Total Length field, as described in section 5.4.1 (v5.2 of Bluetooth spec)

trarbr

comment created time in 2 months

PullRequestReviewEvent

create barnchtrarbr/blue_heron

branch : fix-write-scan-enable-command

created branch time in 2 months

PR opened blue-heron/blue_heron

Add WriteScanEnable HCI command

Hi. I noticed a few encoded HCI commands in the Transport's default init commands which did not have a corresponding module. I've added a module for the first HCI command in this PR. If you like, I can add modules for the rest too.

+55 -1

0 comment

2 changed files

pr created time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha a8a4709cf2fcabcd2b55b7d46aeaa57ab2ad4268

Add WriteScanEnable HCI command

view details

push time in 2 months

push eventtrarbr/blue_heron

Troels Brødsgaard

commit sha 7fb88e47f8aab23eeeacc0ae456367ac4463b55c

Add WriteScanEanble HCI command

view details

push time in 2 months

create barnchtrarbr/blue_heron

branch : add-write-scan-enable-command

created branch time in 2 months