Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /home3/draginoo/public_html/wiki/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 174
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 192
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 185
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 202
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 163
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContentHandler::$mModelName is deprecated in /home3/draginoo/public_html/wiki/includes/content/ContentHandler.php on line 416
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 243
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 246
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 243
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 246
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /home3/draginoo/public_html/wiki/includes/context/RequestContext.php on line 332
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property MessageCache::$mMemc is deprecated in /home3/draginoo/public_html/wiki/includes/cache/MessageCache.php on line 136
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /home3/draginoo/public_html/wiki/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /home3/draginoo/public_html/wiki/includes/parser/Parser.php on line 255
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /home3/draginoo/public_html/wiki/includes/parser/Preprocessor_DOM.php on line 778
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
|
|
| =Configure TTN= | | =Configure TTN= |
| ==Configure LBT1 to Upload data to TTN== | | ==Configure LBT1 to Upload data to TTN== |
− | Please refer the instruction in the [http://www.dragino.com/downloads/index.php?dir=accessories/Bluetooth/BCN01 User Manual]. Note the LBT1 use MOD=3 here. | + | Please refer the instruction in the [http://www.dragino.com/downloads/index.php?dir=accessories/Bluetooth/BCN01 User Manual]. Note the <span CLASS=bluemiddle>LBT1 need to set to MOD=3</span> here. |
| <br> | | <br> |
| | | |
|
|
| =Set Up Converter Server= | | =Set Up Converter Server= |
| * How to install and run this service on Linux? | | * How to install and run this service on Linux? |
− | Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). | + | Step1.Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). |
| | | |
− | Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. | + | Step2.Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. |
| | | |
− | *System: Debian / Ubuntu
| |
| | | |
| + | System: Debian / Ubuntu |
| + | <syntaxhighlight lang="bash"> |
| step: | | step: |
| | | |
|
|
| 2. sudo apt install gcc automake autoconf libtool make cmake | | 2. sudo apt install gcc automake autoconf libtool make cmake |
| | | |
− | 3. cd location/libmqtt | + | 3. git clone -b master https://github.com/mikayong/location.git |
| | | |
− | 4. mkdir build | + | 4. cd location/libmqtt |
| | | |
− | 5. cd build && cmake ../ | + | 5. mkdir build |
| | | |
− | 6. make && sudo make install | + | 6. cd build && cmake ../ |
| | | |
− | 7. cd ../ | + | 7. make && sudo make install |
| | | |
− | 8. make | + | 8. cd ../ |
| | | |
− | 9. sudo cp location_conf.json /etc/ | + | 9. make |
| | | |
− | 10. Edit the configuration file, and run the location service in the background: ./location & | + | 10. sudo cp location_conf.json /etc/ |
| | | |
Fatal error: Uncaught TypeError: MWExceptionHandler::handleException(): Argument #1 ($e) must be of type Exception, Error given in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php:153
Stack trace:
#0 [internal function]: MWExceptionHandler::handleException(Object(Error))
#1 {main}
thrown in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 153
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344