Giter VIP home page Giter VIP logo

Comments (5)

zrajani avatar zrajani commented on May 29, 2024

Connecting the Beagle bone wireless to the internet was a problem since it was unable to get connected to the cloud. The reason for which could be due to the setup was far away from the modem that is the setup was made in the basement of the apartment and a similar scenario was observed during issue #6 thus we had to figure a way connect the board to the wireless network

from iletterbox_capstone_project_embt_f2020.

zrajani avatar zrajani commented on May 29, 2024

Connecting the Beagle bone wireless to the internet was a problem since it was unable to get connected to the cloud. The reason for which could be due to the setup was far away from the modem that is the setup was made in the basement of the apartment and a similar scenario was observed during issue #6 thus we had to figure a way connect the board to the wireless network

Inorder to resolve this issue we had two methods in mind which were as follows:

  • 1. To move the setup closer to the modem or wireless network.

  • 2. Find another suitable network to connect in the current location

  • 3. Other (which was strange)

Thus for us we just had to clear some obstacles from the way like the basement door of the apartment was closed but when the basement door was kept open and the setup was tried to connect to the internet it started to work with an acceptable internet speed. As connecting to the mobile hotspot somewhere is not possible as that network is not been shown on the BB-WI and the first option since we have no permission to get closer to the modem (personal terms with the place I stay) thus the option was not feasible.
But somehow strangely the issue was resolved by just opening the door and may be having an obstacle-free for the radio waves which helps us connect to the wireless network.

from iletterbox_capstone_project_embt_f2020.

zrajani avatar zrajani commented on May 29, 2024

The next issue faced was reading the using namespace exploringBB as the code was adopted from Derrek Molley thus during the compilation of the code it showed us the error that the namespace was not found thus, to resolve the issue we had again 2 options:

  • 1. Write the code by ourselves which was based on the SocketClient.h in the Derrek Molley Repository (Refer to the link above)

  • 2. Clone his repository and then try to give the path of the SocketClient.cpp during the compilation

Thus we used the second approach, in this case, to make things simpler and we specified the path of the SocketClient.cpp during the compilation command. Thus during compilation our command was g++ <cpp file name> <path of the SocketClient.cpp> -o <output_file_name> -liobb thus the program was compiling successfully now and giving us the desired output on the console of the Beaglebone Wireless.

from iletterbox_capstone_project_embt_f2020.

zrajani avatar zrajani commented on May 29, 2024

Now since the program was working smoothly on the console of the Beaglebone wireless we had to face the next issue regarding the data being upload to the cloud. The data on the console showed that it was able to connect to the Thingspeak API server and send the data but when viewed on the ThingSpeak service (channel) the data was received but not stored anywhere on the cloud. Thus we had to check the code that we got from Derrek Molley line by line and see what could have gone wrong thus, we saw that all things were looking good and seem to be working as per our desired logic. Thus we just had a small mistake in spelling the word "Field" which was causing the problems as in ThingSpeak we don't have anything like "Feild". Thus changing the spelling correctly we were able to see the data that was appearing in the cloud in real-time.

from iletterbox_capstone_project_embt_f2020.

zrajani avatar zrajani commented on May 29, 2024

The major issue we faced was with using a string stream header file which is used for output string stream and input string stream which is used in order to give both numerical or string data to the cloud (sstream is not available in c code which is the main string structure for sending data to the cloud), so we had to use C++ code as the header file is not available in C programming language. Thus deviation of the entire code now shifted from C language to C++ language but the code that we wrote in C was preserved as many functions of C are compatible in C++ whereas vice-versa is not possible.

Also, the delay by default is set to 15 seconds and can't be reduced unless we have a paid version but this 15 seconds gap allows unnecessary overlapping of data. Thus from our end, we incorporated the 15 seconds delay in the code itself using the sleep(15) command.

from iletterbox_capstone_project_embt_f2020.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.