Answers.Body: <p>If you prefer C#, there a new lib on the block: <a href="https://github.com/sharpbrick/powered-up" rel="nofollow noreferrer">SharpBrick.PoweredUp</a>. While the Boost hub and motors are missing, the protocol is implemented. Your use case should be two minor contributions away.</p>
  <p>Full Disclaimer: I maintain the library. I do not have Boost Hardware but the protocol officially supports Boost Hub. Just some enums and types are missing.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-06T21:04:52.400Z
Answers.LastActivityDate: 2020-07-07T09:00:12.547Z
Answers.LastEditDate: 2020-07-07T09:00:12.547Z
Answers.UserDisplayName: Thomas
Answers.Body: <p>Not C but you might take a look at <a href="https://github.com/JorgePe/pyb00st" rel="nofollow noreferrer">https://github.com/JorgePe/pyb00st</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-03T14:53:57.533Z
Answers.LastActivityDate: 2019-01-03T14:53:57.533Z
Answers.UserDisplayName: Bart
Answers.Body: <p><a href="https://rebrickable.com/sets/17101-1/creative-toolbox/" rel="noreferrer">Boost</a> and the other Powered Up components (the new City <a href="https://rebrickable.com/sets/60197-1/passenger-train/" rel="noreferrer">trains</a>, the <a href="https://rebrickable.com/sets/76112-1/app-controlled-batmobile/" rel="noreferrer">app-controlled batmobile</a>, and <a href="https://rebrickable.com/sets/45300-1/wedo-core-set/" rel="noreferrer">WeDo 2.0</a>) are controlled via Bluetooth. Any environment that can send bluetooth commands can be used to control these components.</p>
  
  <p>There is a <a href="https://github.com/JorgePe/BOOSTreveng" rel="noreferrer">github page</a> which documents some of the reverse-engineering that has been done and it links to several third-party Boost/PoweredUp programming libraries. I've used <a href="https://github.com/hobbyquaker/node-movehub" rel="noreferrer">movehub</a>, but there is another node.js library called <a href="https://github.com/nathankellenicki/node-poweredup" rel="noreferrer">node-poweredup</a> which looks more complete.</p>
  
  <p><a href="https://github.com/LEGO/lego-ble-wireless-protocol-docs" rel="noreferrer">Lego themselves have documented part of the BLE wireless protocol on github</a> as well.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-03T16:04:04.697Z
Answers.LastActivityDate: 2019-01-03T16:04:04.697Z
Answers.UserDisplayName: Mr. Shiny and New 安宇
Answers.Body: <p>You can try our just released WeDo 2.0 Framework that should suppot Boost partially (full support will be added soon). It is open source and free for education (written in C#). You can find it by this link: <a href="https://github.com/btframework/WeDo" rel="nofollow noreferrer">https://github.com/btframework/WeDo</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-14T04:19:38.903Z
Answers.LastActivityDate: 2019-10-14T04:19:38.903Z
Answers.UserDisplayName: Mike Petrichenko
Body: <p>Over the holidays I tried the following Python library:
  <a href="https://github.com/undera/pylgbst" rel="noreferrer">https://github.com/undera/pylgbst</a> but I couldn't get it to work.
  Then again my knowledge of Python is very limited.</p>
  
  <p>I'm more experienced with C++ or C#, is anything available for those languages?</p>
  
  <p>As a general question, do you know of any programming environments or API's that can control the LEGO move hub and its peripherals from the LEGO BOOST set?</p>
  
Tags: <programming><electronics><boost>
Title: Which programming environments or APIs are available for the LEGO BOOST?
UserDisplayName: Michael Verschaeve
ThreadText: # Which programming environments or APIs are available for the LEGO BOOST?
  
  (Asked by: username_0 on 2019-01-03)
  
  Over the holidays I tried the following Python library:
  <https://github.com/undera/pylgbst> but I couldn't get it to work.
  Then again my knowledge of Python is very limited.
  
  I'm more experienced with C++ or C#, is anything available for those languages?
  
  As a general question, do you know of any programming environments or API's that can control the LEGO move hub and its peripherals from the LEGO BOOST set?
  
  **Tags:** programming, electronics, boost
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_3 on 2019-01-03. Score: 6
  
  [Boost](https://rebrickable.com/sets/17101-1/creative-toolbox/) and the other Powered Up components (the new City [trains](https://rebrickable.com/sets/60197-1/passenger-train/), the [app-controlled batmobile](https://rebrickable.com/sets/76112-1/app-controlled-batmobile/), and [WeDo 2.0](https://rebrickable.com/sets/45300-1/wedo-core-set/)) are controlled via Bluetooth. Any environment that can send bluetooth commands can be used to control these components.
  
  There is a [github page](https://github.com/JorgePe/BOOSTreveng) which documents some of the reverse-engineering that has been done and it links to several third-party Boost/PoweredUp programming libraries. I've used [movehub](https://github.com/hobbyquaker/node-movehub), but there is another node.js library called [node-poweredup](https://github.com/nathankellenicki/node-poweredup) which looks more complete.
  
  [Lego themselves have documented part of the BLE wireless protocol on github](https://github.com/LEGO/lego-ble-wireless-protocol-docs) as well.
  
  
  ---
  
  ### Answer by username_1 on 2020-07-06. Score: 3
  
  If you prefer C#, there a new lib on the block: [SharpBrick.PoweredUp](https://github.com/sharpbrick/powered-up). While the Boost hub and motors are missing, the protocol is implemented. Your use case should be two minor contributions away.
  
  Full Disclaimer: I maintain the library. I do not have Boost Hardware but the protocol officially supports Boost Hub. Just some enums and types are missing.
  
  
  ---
  
  ### Answer by username_2 on 2019-01-03. Score: 3
  
  Not C but you might take a look at <https://github.com/JorgePe/pyb00st>
  
  
  ---
  
  ### Answer by username_4 on 2019-10-14. Score: 1
  
  You can try our just released WeDo 2.0 Framework that should suppot Boost partially (full support will be added soon). It is open source and free for education (written in C#). You can find it by this link: <https://github.com/btframework/WeDo>
  
  
  ---
  
  