Sponsored Content
Top Forums Programming Basic Arduino UNO Bluetooth Testing with the BLE 4.0 (CC2541, MLT-BT04 IC) Post 303043386 by Neo on Monday 27th of January 2020 08:22:00 AM
Old 01-27-2020
Update:

Have downloaded, installed and tried a number of python git repos for BLE and macOS. Could not get any of around four python BLE repos to work as I had expected or hoped "out of the box" (for example, no discovery or device listing worked) so I'm going to move this little HM-10 BLE module into temporary storage for now and move on to testing a different Arduino module / shield.

I may return to the HM-10 BLE module if I want to build a BLE app to control some relays with my iPhone, since I was happy with how ArduinoBlue worked OOTB. Unfortunately, ArduinoBlue development seems to be "dead" at the moment and the original developer's email bounces back "account deleted" .

Caveat, I deleted xcode off my mac months ago, so you may have better luck of you use a python wrapper over the xcode BLE libs.

My attention span is now very low with many Arduino modules and shields waiting, in dark, unopened, static resistant packages, to be freed from the drawer, wired up and coded. Smilie
 

7 More Discussions You Might Find Interesting

1. OS X (Apple)

Semi-Automatic Arduino Detection.

I am working on a semi-auto detection idea for Arduino for the Scope project. It does require a little user intervention but minimal. It works by just responding to two on screen prompts to unplug and plug Arduino into a USB port. There are two versions and both work perfectly well and give... (3 Replies)
Discussion started by: wisecracker
3 Replies

2. Programming

Very Basic Arduino Uno Board Testing

A very simple Arduino board test... LOL Here is some very easy code to test a cheap Arduino board I just got from China via Aliexpress. I am still waiting on a about 30 more orders from Aliexpress for more Arduino stuff. This was the first order which made it here. /* Arduino test-code... (18 Replies)
Discussion started by: Neo
18 Replies

3. Programming

Arduino-cli - Uploading to Unknown Chinese Arduino Boards using the Arduino Command Line Interface

In my further exploration of Arduino, today I decided to install the arduino-cli on my mac today. https://github.com/arduino/arduino-cli I followed the instructions for macOS but when I got to this part: arduino-cli board list I got the dreaded "Unknown" Fully Qualified Board Name... (1 Reply)
Discussion started by: Neo
1 Replies

4. Programming

More Arduino Stuff...

HI all... (Apologies for any typos.) To add to Neo's Arduino subject matter I have decided to upload this in ".zip" format. Ignore "*.info" files these are AMIGA icons only and also the "HAM" drawer as these are photos in ancient AMIGA HAM modes. I have noticed that there are current... (6 Replies)
Discussion started by: wisecracker
6 Replies

5. Programming

Chinese Arduino UNO Clones - The Wavgat versus the generic UNO R3 Clone - The Winner Is?

Waiting for more fun Ardunio parts from AliExpress, I decided to test two cheap Chinese Arduino UNO clones. The Arduino UNO R3 (CH340G) MEGA328P The Wavgat UNO R3 (CH340G) MEGA328P Both of these Chinese Ardunio clones sell for about $3 USD, delivered to your door. The bottom line is... (0 Replies)
Discussion started by: Neo
0 Replies

6. Programming

Arduino UNIX Time - Syncing Computer UNIX Time to Arduino Time with Python

Just finished a quick Python script to send the current unix time over to the Arduino from macOS, so in the absence of GPS or some other way to get the unix timestamp (epoch time) to the Arduino, I can get my macOS and Arduino UNO synced to within a second. Normally, when the Arduino starts... (9 Replies)
Discussion started by: Neo
9 Replies

7. Programming

Arduino Project: iPhone to HM-10 BLE to NB-IoT Shield to NB-IoT Network to Internet to Linux Server

This post describes a "work in progress" project I started today. Here is the High Level Overview: Currently, this project sits on my desk as an Arduino UNO (on the bottom), an NB-IoT Shield (sandwiched in the middle), a Sensor Shield (on top) with a HM-10 BLE Module (in the little... (13 Replies)
Discussion started by: Neo
13 Replies
CARTON(1p)						User Contributed Perl Documentation						CARTON(1p)

NAME
carton - Perl module dependency manager (aka Bundler for Perl) SYNOPSIS
# On your development environment > cat cpanfile requires 'Plack', 0.9980; requires 'Starman', 0.2000; > carton install > git add cpanfile carton.lock > git commit -m "add Plack and Starman" # Other developer's machine, or on a deployment box > carton install > carton exec -Ilib -- starman -p 8080 myapp.psgi WARNING
This software is under heavy development and considered ALPHA quality till its version hits v1.0.0. Things might be broken, not all features have been implemented, and APIs are likely to change. YOU HAVE BEEN WARNED. DESCRIPTION
carton is a command line tool to track the Perl module dependencies for your Perl application. The managed dependencies are tracked in a carton.lock file, which is meant to be version controlled, and the lock file allows other developers of your application will have the exact same versions of the modules. TUTORIAL
Initializing the environment carton will use the .carton directory for local configuration and the local directory to install modules into. You're recommended to exclude these directories from the version control system. > echo .carton/ >> .gitignore > echo local/ >> .gitignore > git add carton.lock > git commit -m "Start using carton" Tracking the dependencies You can manage the dependencies of your application via cpanfile. # cpanfile requires 'Plack', 0.9980; requires 'Starman', 0.2000; And then you can install these dependencies via: > carton install The modules are installed into your local directory, and the dependencies tree and version information are analyzed and saved into carton.lock in your directory. Make sure you add carton.lock to your version controlled repository and commit changes as you update dependencies. This will ensure that other developers on your app, as well as your deployment environment, use exactly the same versions of the modules you just installed. > git add cpanfile carton.lock > git commit -m "Added Plack and Starman" Deploying your application Once you've done installing all the dependencies, you can push your application directory to a remote machine (excluding local and .carton) and run the following command: > carton install This will look at the carton.lock and install the exact same versions of the dependencies into local, and now your application is ready to run. Bundling modules carton can bundle all the tarballs for your dependencies into a directory so that you can even install dependencies that are not available on CPAN, such as internal distribution aka DarkPAN. > carton bundle will bundle these tarballs into local/cache directory, and > carton install --cached will install modules using this local cache. This way you can avoid a dependency on CPAN meta DB and search.cpan.org at a deploy time, or you can have dependencies onto private CPAN modules aka DarkPAN. COMMUNITY
<https://github.com/miyagawa/carton> Code repository, Wiki and Issue Tracker <irc://irc.perl.org/#carton> IRC chat room AUTHOR
Tatsuhiko Miyagawa COPYRIGHT
Tatsuhiko Miyagawa 2011- LICENSE
This software is licensed under the same terms as Perl itself. SEE ALSO
cpanm Bundler <http://gembundler.com/> pip <http://pypi.python.org/pypi/pip> npm <http://npmjs.org/> perlrocks <https://github.com/gugod/perlrocks> only perl v5.14.2 2012-05-12 CARTON(1p)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy