du5910 2016-03-19 08:54
浏览 84

如何从php / symfony调用NODEJS函数

I am using nodejs package gps-tracking to develop a gps tracking system. My web interface is in symfony/ PHP. I would like to know how i can send any command ( e.g. Setting Geo fence, Send command to switch of the ignition) to the device using my web interface to the device using the nodejs server. i saw a method this.send_to = function(device_id, msg). But would like to understand how i can invoke this method from the PHP /symfony platform.

Please suggest.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 h5唤醒支付宝并跳转至向小荷包转账界面
    • ¥15 算法题:数的划分,用记忆化DFS做WA求调
    • ¥15 chatglm-6b应用到django项目中,模型加载失败
    • ¥15 CreateBitmapFromWicBitmap内存释放问题。
    • ¥30 win c++ socket
    • ¥15 C# datagridview 栏位进度
    • ¥15 vue3页面el-table页面数据过多
    • ¥100 vue3中融入gRPC-web
    • ¥15 kali环境运行volatility分析android内存文件,缺profile
    • ¥15 写uniapp时遇到的问题