iPad not Charging on MacBook Pro?

It’s not the first time my iPad show not charging when it’s connected to my MBP.
IMG_0107

‘About This Mac’ => ‘More Info…’ => ‘System Report…’ => ‘Hardware’ => ‘USB’ => ‘iPad’

QQ20130425-1@2x

You’ll find ‘Extra Operating Current’ disappeared here.

Continue reading “iPad not Charging on MacBook Pro?” »

Incoming search terms:

MQTT client lib in PHP

UPDATE:
SUBSCRIBE/SUBACK/UNSUBSCRIBE/UNSUBACK are now supported

===========================

MQ Telemetry Transport, MQTT is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.

In the ‘software’ page, I found two client libs in PHP, phpMQTT by @bluerhinos and PECL SAM, outdated or dead.

I chose phpMQTT in my project publishing message to mosquitto but found it somewhat too old and lack of QoS support. I decided to code my own.

I spended 6 hours watching CSL, Bundesliga, and Barclay’s English Premier League, then brought out this: https://github.com/sskaje/mqtt. Almost the most ugly code I’ve ever written.

Only PUBLISH and it’s related commands are supported until I have enough time to finish it.

It might be a choice to those who are publishing their messages and not subscribing any topic.

Incoming search terms: