Re: ActiveMQ(MQTT) crash when subscribe

2015-07-19 Thread roox_4000
I use https://github.com/sskaje/mqtt Lib And It Work With Activemq Broker Very Well -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4699314.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-14 Thread Christopher Shannon
can help. >> >> >> >> >> >> >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4699230.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > >

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-14 Thread Christopher Shannon
to solve the problem. > I appreciate it if anybody can help. > > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4699230.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-14 Thread roox_4000
ivemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4699230.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-04 Thread roox_4000
$bytes = ord(substr($string,1,1)); $string = $this->read($bytes); } -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4698578.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-01 Thread roox_4000
a.io.IOException: Unexpected error occurred: java.lang.ArrayIndexOutOfBoundsException: 9 | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:27519@1885 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-whe

Re: ActiveMQ(MQTT) crash when subscribe

2015-07-01 Thread roox_4000
/* strwritestring: writes a string to a buffer */ function strwritestring($str, &$i){ $ret = " "; $len = strlen($str); $msb = $len >> 8; $lsb = $len % 256; $ret = chr($msb); $ret .= chr($lsb); $ret .= $str; $i += ($len+2); return $ret; } function printstr($string){ $strlen = strlen($string); for($j=0;$j<$strlen;$j++){ $num = ord($string{$j}); if($num > 31) $chr = $string{$j}; else $chr = " "; printf("%4d: %08b : 0x%02x : %s \n",$j,$num,$num,$chr); } } } ?> -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4698437.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ(MQTT) crash when subscribe

2015-06-30 Thread Christopher Shannon
b Example"); //Change >> client name to something unique >> >> if(!$mqtt->connect()){ >> exit(1); >> } >> >> $topics['chat/general'] = array("qos"=>0, "function"=>"procmsg"); >> $mqtt->s

Re: ActiveMQ(MQTT) crash when subscribe

2015-06-30 Thread Christopher Shannon
)){ > > } > > > $mqtt->close(); > > function procmsg($topic,$msg){ > echo "Msg Recieved: ".date("r")."\nTopic:{$topic}\n$msg\n"; > } > > > > ?> > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

ActiveMQ(MQTT) crash when subscribe

2015-06-29 Thread roox_4000
ot;\nTopic:{$topic}\n$msg\n"; } ?> -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.