element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Blog Nicla Sense - Minor issue with BLE WebServer
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 7 Apr 2022 3:35 PM Date Created
  • Views 1042 views
  • Likes 6 likes
  • Comments 0 comments
  • webble
  • bhy controller
  • nicla sense me
Related
Recommended

Nicla Sense - Minor issue with BLE WebServer

ralphjy
ralphjy
7 Apr 2022

I've been working my way through the Cheat Sheet and encountered an issue running WebBLE.  I thought I would point it out in case others encounter it.

I was using the tutorial Sensors Readings on a Local Webserver and followed the instructions to build the Bhy-Controller Tool manually.  I did not have Go Lang installed on my Win10 PC, so I installed that and downloaded the nicla-sense-me-fw repo from github.  The build was uneventful, but I ran into an issue running the tool.

The nicla sense needs to be running the App.ino example and the Web App is started in a cmd window with the command bhy webserver in the build directory.

The Web App opens with a window to select either the Sensor or Firmware Update page.

image

The Sensor page enables connection to the nicla sense and the configuration and viewing of the sensors.

image

Clicking the Connect button brings up a pairing panel to select the device to pair - in my case there is only one.

image

This is where I ran into the problem.  The Current status did not show that I was connected.

image

I chased this problem for a while, pairing again and resetting the nicla and the restarting the webserver - but I could not get it to display connected.  I looked at the debug output on the Serial monitor and realized that I was actually connected.  I then tried the Temperature sensor in the Web App and it was indeed working even though the status showed disconnected.

image

I then decided to download the pre-built Bhy-Controller executable from the repo bhy_1.0.3_Windows_64bit.zip.

And, of course, that worked.

image

So, I think it is only the status indication that is broken.  I don't really want to troubleshoot it, but I suspect the problem may be a version issue with Go Lang.  The version I installed (latest) is go1.18 windows/amd64.  From the release notes, the version used to build bhy_1.0.3 was version 1.16.  I'm not going to try to downgrade Go Lang to test out my theory, but just wanted to let others know that there is a potential issue when building the controller manually.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube