网站综合信息 fran.cc
    • 标题:
    •  
    • 关键字:
    • arduino electronics works software economy 
    • 描述:
    • I'm Francisco Castro from Argentina and this is my blog where I post things I do and things I f 
    • 域名信息
    • 域名年龄:16年3个月2天  注册日期:2008年08月14日  到期时间:2019年08月14日
      邮箱:support  电话:+54.2214249069
      注册商:ENOM, INC. 
    • 服务器空间
    • IP:66.6.44.4 同IP网站295个 详情
      地址:美国 纽约州纽约市Tumblr公司
    • 备案信息
    • 备案号: 
    网站收录SEO数据
    • 搜索引擎
    • 收录量
    • 反向链接
    • 其他
    • Google
    • 0  
    • 0  
    • pr:1  
    • 雅虎
    • 0  
    •  
    •  
    • 搜搜
    • 0  
    •  
    •  
    • 搜狗
    • 0  
    •  
    • 评级:0/10  
    • 360搜索
    • 0  
    •  
    •  
    域名流量Alexa排名
    •  
    • 一周平均
    • 一个月平均
    • 三个月平均
    • Alexa全球排名
    • -  
    • 平均日IP
    • 日总PV
    • 人均PV(PV/IP比例)
    • 反向链接
    • dmoz目录收录
    • -  
    • 流量走势图
    域名注册Whois信息

    fran.cc

    域名年龄: 16年3个月2天
    注册时间: 2008-08-14
    到期时间: 2019-08-14
    注 册 商: ENOM, INC.
    注册邮箱: support
    联系电话: +54.2214249069

    获取时间: 2013年07月22日 04:02:51
    Domain Name: FRAN.CC
    Domain ID: 90023548
    Whois Server: whois.enom.com
    Referral URL: http://www.enom.com
    Updated Date: 2012-05-10T18:50:28Z
    Creation Date: 2008-08-14T23:07:56Z
    Expiration Date: 2019-08-14T23:07:56Z
    Sponsoring Registrar: ENOM, INC.
    Sponsoring Registrar IANA ID: 48
    Domain Status: CLIENT-XFER-PROHIBITED
    Name Server: DNS1.REGISTRAR-SERVERS.COM
    Name Server: DNS2.REGISTRAR-SERVERS.COM
    Name Server: DNS3.REGISTRAR-SERVERS.COM
    DNSSEC: Unsigned delegation

    >>> Last update of whois database: 2013-07-21T20:03:06Z <<<

    Registration Service Provided By: Namecheap.com
    Contact: support
    Visit: http://namecheap.com
    Registered through: eNom, Inc.

    Domain name: fran.cc

    Registrant Contact:
    fran.cc
    Jose Francisco Castro ()

    Fax:
    Calle 36 Nro. 569 Dpto 5
    La Plata, BUENOS AIRES 1900
    AR

    Administrative Contact:
    fran.cc
    Jose Francisco Castro (fran.cc.root)
    +54.2214249069
    Fax: +1.5555555555
    Calle 36 Nro. 569 Dpto 5
    La Plata, BUENOS AIRES 1900
    AR

    Technical Contact:
    fran.cc
    Jose Francisco Castro (fran.cc.root)
    +54.2214249069
    Fax: +1.5555555555
    Calle 36 Nro. 569 Dpto 5
    La Plata, BUENOS AIRES 1900
    AR

    Status: Locked

    Name Servers:
    dns1.registrar-servers.com
    dns2.registrar-servers.com
    dns3.registrar-servers.com

    Creation date: 2008-Aug-15 03:07:56
    Expiration date: 2019-Aug-15 03:07:56

    We reserve the right to modify these terms at any time. By submitting
    this query, you agree to abide by these terms.
    Version 6.3 4/3/2002
    其他后缀域名
    • 顶级域名
    • 相关信息
    网站首页快照(纯文字版)
    抓取时间:2013年08月25日 00:55:45
    网址:http://fran.cc/
    标题:
    关键字:arduino,electronics,works,software,economy
    描述:I'm Francisco Castro from Argentina and this is my blog where I post things I do and things I found related to art, sustainabilty, electronics and interactivity. Email me@fran.cc Sites iWall SMS
    主体:
    fran.ccTinyPostmanTinyPostman is a REST-like protocol for reading and writing data resources from microcontrollers via a serial port. It is based on the TinyPacks data serialization format and supports the REST methods GET, PUT, POST and DELETE.The current C++ implementation for Arduino and Atmel AVR microcontrollers usesabout 1.5 KB of Flash and 48 bytes of RAM.Frame formatThe TinyPostman requests and responses are encoded as a sequence of TinyPacksvalues as follow:Request< method:Integer >  < token:Integer >  < path:String >  [ payload:* ]Response< code:Integer >  < token:Integer >  [ payload:* ]Referencesmethod:  An integer value representing one of the following methods:1   Get2   Post3   Put4   Deletetoken:   An integer value used as ID for the request and treated asopaque value when processing the request.path:    The path of the addressed resource encoded as an UTF-8 string.code:    An integer value representing one of the following responsecodes:0x21    201 Created0x22    202 Deleted0x24    204 Changed0x25    205 Content0x40    400 Bad Request0x41    401 Unauthorized0x43    403 Forbidden0x44    404 Not Found0x45    405 Method Not Allowed0x4D    413 Request Entity Too Largepayload: An optional payload encoded as one or more TinyPacks values.Code examplesPythonfrom tinypostman import *pm = tinypostman.Postman("/dev/ttyUSB0")response = pm.get("")if response[0] == TPM_205_Content:resources = response[1]for resource in resources:print(resource + ":")response = pm.get(resource)if response[0] == TPM_205_Content:print(repr(response[1]))else:print("Cannot get the %s resource." % resource)else:print("Cannot get the resource index.")Arduino#include <TinyPostman.h>#define   MAX_PACKET_LENGTH 128 uint8_t   pack_buffer[MAX_PACKET_LENGTH];Postman   postman;Framer    framer(pack_buffer, MAX_PACKET_LENGTH);class LED : public Resource {uint8_t  led_pin;public:LED() { led_pin = 13; pinMode(led_pin, OUTPUT); };uint8_t get(Request &request) {request.writer.openMap();request.writer.putString("pin");request.writer.putInteger(led_pin);request.writer.putString("state");request.writer.putBoolean(digitalRead(led_pin));request.writer.close();return TPM_205_Content;}uint8_t put(Request &request) {request.reader.next();if(request.reader.openMap()) {while(request.reader.next()) {if     (request.reader.match("pin"))     { led_pin = request.reader.getInteger(); pinMode(led_pin, OUTPUT); }else if(request.reader.match("state"))   digitalWrite(led_pin, request.reader.getBoolean());else request.reader.next();        }request.reader.close();return TPM_204_Changed;}elsereturn TPM_400_Bad_Request;}} led_resource;void setup(){postman.registerResource("led", led_resource);Serial.begin(9600);}void loop(){if(framer.getState() == TPM_SENDING)Serial.write(framer.getByteToSend());while(framer.getState() == TPM_RECEIVING && Serial.available() > 0) {if(framer.putReceivedByte(Serial.read()) && framer.getLength()) {framer

    © 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询

    2024-11-10 10:38, Process in 0.0086 second.