This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('request'); | |
var options = { | |
uri: 'http://192.168.1.1/osc/commands/execute', | |
headers: { 'Content-Type': 'application/json;charset=utf-8' }, | |
json: true, | |
keepAlive: false, | |
body: { "name": "camera.startSession" } | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: UTF-8 | |
from __future__ import with_statement | |
import sys | |
import serial | |
import os.path | |
import datetime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: UTF-8 | |
import socket | |
import struct | |
DEBUG = True | |
DEBUG2 = False | |
PTP_OC_GetDeviceInfo = 0x1001 |
NewerOlder