Rushman003's Posts
Nairaland Forum › Rushman003's Profile › Rushman003's Posts
1 2 3 4 5 6 7 8 9 10 11 (of 15 pages)
seunthomas:This is a challenge and also a problem i'm currently facing! I would have opened another tread but i don't wanna derail Any of the programmer here to read unformatted / not well formed xml data from a TCP client(socket) and use a particular message string from the xml to trigger an IP camera... Mind you have got this working on a simulator but the same code is giving problem with the real device! below is the pull data for the handshake communication between server and client <?xml version="1.0" encoding="UTF-8"?> <PlatformStatusReport> <PlatformIdentification> <DeviceName>FD525R</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR APU</DeviceType> </PlatformIdentification> <PlatformStatusReport> <PlatformIdentification> <DeviceName>FD525R.HZONE-1</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR Hyperzone</DeviceType> </PlatformIdentification> <Status> <DeviceState>Secure</DeviceState> <CommunicationState>OK</CommunicationState> <UpdateTime Zone="GMT">2017-10-24T16:13:56.280</UpdateTime> </Status> <DeviceStatusReport> <DeviceIdentification> <DeviceName>FD525R.HZONE-1.ZONE-1</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR Zone</DeviceType> </DeviceIdentification> <Status> <DeviceState>Secure</DeviceState> <CommunicationState>OK</CommunicationState> <UpdateTime Zone="GMT">2017-10-24T16:13:56.280</UpdateTime> </Status> </DeviceStatusReport> <DeviceStatusReport> <DeviceIdentification> <DeviceName>FD525R.HZONE-1.ZONE-2</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR Zone</DeviceType> </DeviceIdentification> <Status> <DeviceState>Secure</DeviceState> <CommunicationState>OK</CommunicationState> <UpdateTime Zone="GMT">2017-10-24T16:13:56.280</UpdateTime> </Status> </DeviceStatusReport> <DeviceStatusReport> <DeviceIdentification> <DeviceName>FD525R.HZONE-1.ZONE-3</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR Zone</DeviceType> </DeviceIdentification> <Status> <DeviceState>Secure</DeviceState> <CommunicationState>OK</CommunicationState> <UpdateTime Zone="GMT">2017-10-24T16:13:56.280</UpdateTime> </Status> </DeviceStatusReport> </PlatformStatusReport> </PlatformStatusReport> and below is the message to trigger camera i.e on alarm <?xml version="1.0" encoding="UTF-8"?> <DeviceDetectionReport> <DeviceDetectionRecord> <DeviceIdentification> <DeviceName>FD525R.HZONE-1.ZONE-1</DeviceName> <DeviceCategory>Sensor</DeviceCategory> <DeviceType>SPIDR Zone</DeviceType> </DeviceIdentification> <Detection> <ID>SZ003</ID> <DetectionEvent>Intrusion</DetectionEvent> <UpdateTime Zone="GMT">2017-10-24T16:15:10.096</UpdateTime> </Detection> </DeviceDetectionRecord> </DeviceDetectionReport> to be implemented in php |
Op thanks for this insightful info Pls I have some questions? In domain trading, 1. Is there a site where people list domain name for sale? 2. can i register a domain name and put it up for sale on such website for people that are interested to buy? 3. How and from who do I buy expired domain name and resell it. 4. Is there a forum for domain trading Thank you sir |
dafemnet:Have replied you .nothing yet from you Regards |
dafemnet:thashnet@gmail.com I have a prototype business in automobile industry, i founded it, i am the tech guy behind it and also have a trained mechanic as co founder. We will be offering remote repairs/ maintenance for individuals, or corporate bodies. How can we get down to business cheers!! |
In case we made front page. I want to dedicate this to my wife for allowing me use her phone. Egungun people of agege, I'm not surprise tho |
Vanquay:I'm interested in the dealership too. What's your view hit me up on WhatsApp 07039090014 |
Hello! What do you want to do? |
Silver you can use mikrotik to handle everything even as far as blacklisting some site and attaching certain data to users. Search online about it and you contact me if you couldn't handle it |
Hi guys, i'm a php guy but have got a project in my company which involves the use of C# or C++ or VB, any body with the knowledge should please contact me(call) on 08151367334 (or 07039090014 whatsapp). You can send a text i will call back. Little incentive will be attached. Thank you |
SilverG33k:No problem |
Donald3d:Donald are you sure vogue pay will jot charge up to 500 for #45000 transaction. Paystavk collects 1.5% + 100 on 45000 naira transaction, that will be 600 naira so high |
zando64:No problem zando I will cal! You |
Hi guys , Please im working on a school portal and its time to integrate payment gateway. Please guys how do they integrate all these gateway with small charges like 350 - 500 and developer also gets small commission from the charges Thank you Note i have tried paystack and others but their charges is more than 1000 which is very high considering the fact that i will add my own money to the charge too |
Nice one more grease to your elbow sir .. Dalecoin for life |
AlwaysUltraPad:Thanks man. Done that before coming here |
AlwaysUltraPad:I'm in Warri |
AlwaysUltraPad:Will be happy if I can do that boss. |
AlwaysUltraPad:Tomorrow Tuesday is 25th, so no way to do it |
AlwaysUltraPad:Yes its 25th in lagos but i want to reschedule it because i will be coming to lagos on 25th so i'm thinking of 26th of 29th Thanks |
Hey bosses How ar you doing , please how can i reschedule my test date ? |
gimakon:Hey gimakon Thanks for the insightful reply. Can you be elaborate Drop your contact please let's talk Mine 07039090014 |
Expert in JavaScript , PHP , HTML CSS araachap@gmail.com 07039090014 |
Hello guys how are you doing Please I have two system connected to each other communicating as server and client, I want to have my program on the client PC but needs the data coming to the client so I thought of using wireshark for that purpose so how can get the data every time client PC receives it from the server to use by my own app. Thanks |
showreals:Hi. Are you a tech guy? If you are, you can get mikrotik software to monitor, reduce data cap, restrict some site that consumes data, stop download of some certain file. And you don't need to have it on all system just a central system connected too the gateway does that. If you can't solve it contact me and I will provide necessary support You can send PM |
micodon:Thank you micodon What I wanna achieve is that I have a network device that output some XML data to the network. But you can't get those data until you do some sort of handshake with and request for this XML data Hope you understand now |
DanielTheGeek:Thank you Dan Lemme explain how ds work in full, the alarm device communicate in XML format to the network to push out data for third party communication. When a signal is being transmitted from the perimeter it secures the ASCII format is being processed to text in XML format to tell the communicating head end equipment that so and so zone is having an intrusion. I don't know the technology use to make the device but software related part was written in C#. They have SDK you can work with but I only need the alarm output data to trigger a camera attached to the zone for operator to view what's happening there |
Gurus in the house please i really need your help on this, I'm trying to connect to an Alarm device on a network to receive xml data and process it to trigger another device, Have got a clue from my boss to use php socket programming to connect to the device, but i'm finding it very hard to send and retrieve the XML data even if it is to output it in an array or dump in mysql server for now, i could only find example for HTTP request online but couldn't find for XML request, Please my ogas i need your expertise Here is my code for socket connect and XML data request/grabbing //connector.php <?php //not timing out set_time_limit(0); //creating socket $socket= socket_create(AF_INET, SOCK_STREAM,SOL_TCP); if ((!$socket= socket_create(AF_INET,SOCK_STREAM,SOL_TCP))){ $errorcode= socket_last_error(); $errormsg= socket_strerror ($errorcode); die("Could not create socket: [$errorcode] $errormsg \n" ;} echo "I'm the Socket creator \n <br>"; //Creating a socket connections if (!socket_connect($socket, '192.168.43.16', 80)){ $errorcode = socket_last_error(); $errormsg = socket_strerror ($errorcode); die ("Could not estabish port connection: [$errorcode] $errormsg \n" ;} echo "Port 1000 Connection Established \n <br>"; $message = "GET / HTTP/1.1\r\n\r\n"; //Send the message to the server if( ! socket_send ( $socket , $message , strlen($message) , 0)) { $errorcode = socket_last_error(); $errormsg = socket_strerror($errorcode); die("Could not send data: [$errorcode] $errormsg \n" ;} echo "Message send successfully \n"; //Now receive reply from server if(socket_recv ( $socket , $buf , 2045 , MSG_WAITALL ) === FALSE) { $errorcode = socket_last_error(); $errormsg = socket_strerror($errorcode); die("Could not receive data: [$errorcode] $errormsg \n" ;} //print the received message echo $buf; socket_close($socket); ?> //dataextractor.php <?php include_once("connector.php" ;// Loading the XML file $xml=simplexml_load_file("intrusion.xml" or die("Error: Cannot create object" ;echo $xml->DeviceIdentification[0]-> DeviceName ->DeviceType . "<br>"; echo $xml->Detention[1]->ID -> DetentionEvent; ?> For the dataextractor the echo statement are the values i need to process to trigger the other device from the XML file Thanks in advance All thanks to my boss talk2hb1 for his painstaking effort, i'm doing this to put myself through learning process tho, because he's working on this with me and asked me to read about it...... Watch out for an article from me dedicated to him// |
teddyope31:Hi Poster! I really love this motivation to invest in agriculture i commend your courage, However i have a good agricultural investment suggestion and if you feel its cool for you to do you can contact me on my whatsapp, then we discuss business and also my expertise. Mind u this is a long term investment and other users can benefit from it too Have you imagine how Oranges, Cashew, Mangoes investor ball in money for more than 20 years? Okay this is the analysis. Imagine you buy 500 pieces hybrid oranges, at #4500 each that will be equal to 2.25million capital investment and you wait for 2 and half years for the orange to grow and start bearing fruits. In your year of harvest i.e after two and half years you sell each trees to people that sell at the market at #5000, they own everything on that tree for the harvest period. Now calculate your investment where you sell all 500 piece at 5000, that is 2.5 million your capital investment in one harvest period and mind you orange produce twice a year using the same calculate it means you will earn 5million naira throughout the year and orange last for almost 20 years if not more, thats 50 million for you in 20 years. and if its local breed the only difference is time it grows to bear fruit and money. It take local four years to start bearing fruit and #3000 per seedlings all selling price and profit remain the same. Search for orange market value. It never depreciate the need for it increases every day because of it useful to health and some individual like juice company and the likes and also it export value. Which means with the right link there is always market for it. This is a huge investment for people that see the future, i have people doing it and making it big time. Contact me on my whatsapp 07039090014 and lets discuss some business. Thank you |
Hi How are you doing ? You can contact me on 07039090014 And check out our past work on rogerhost.com |
Based on experience your tomato is receiving water on its leaves. Tomato leaves doesn't like water because it stunt its growth the root requires water most and you are meant to start staking now for better result. |
;