<body id=bd><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d9454517\x26blogName\x3dmobile::metrics\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dTAN\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mmetrics.blogspot.com/search\x26blogLocale\x3den_GB\x26v\x3d2\x26homepageUrl\x3dhttp://mmetrics.blogspot.com/\x26vt\x3d-4024811798546023877', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
mobile::metrics
Blog | Palmwares | BBS | Obsolate contents | Links
mobile::metrics© for palm powered handhelds
Palmやら京ぽんやら身近なmobileな話題

>>Sunday, November 20, 2005

RTSの信号

 前回SrmOpenしてもRTSがHighにならないよと書きましたが、Peripheralの抵抗をちゃんと100kΩのものをつけてやって、テスターで計ったらちゃんとhighになってました。
 でもSrmGetStatusで状態を取得すると0x000DでRTSのビットだけ立ってないんだよなぁ。テスターではRS232レベルでHighになってるのに、、、
 で、インチキHCI Command Packet(OCF:0x0005, OGF:0x04, Read_Buffer_Size)を送ってやったら、先頭バイトが0x04のEvent Packetが返ってきました!!!
 でもSrmSetWakeupHandlerにArmletの関数アドレスを入れると、dataがRS232にくるとハングしちゃんだよなぁ。どうもとんでもないアドレスとcalleeとして認識しちゃってるみたい。たぶんCのコードで渡してる関数ポインタが相対な物なんだろうな、、、
 同じようなので、callbackとしてBT stack libのからもらう関数アドレスをC言語コールすると、これまたハング。これは絶対アドレスになってて呼び出し規約がどうも違ってるっぽい、、、
 ATPCSまた読むかのぉ、とほほ。
posted by shinhei @ 11/20/2005 06:10:00 am

Anonymous Anonymous said...

I do consider all of the concepts you have introduced for your
post. They're very convincing and will certainly work. Still, the posts are too short for starters. May you please lengthen them a little from next time? Thank you for the post.

Visit my homepage low carb no carb 2/15/2013 9:00 am  

Anonymous Anonymous said...

I do consider all of the concepts you have introduced for your post.
They're very convincing and will certainly work. Still, the posts are too short for starters. May you please lengthen them a little from next time? Thank you for the post.

my weblog low carb no carb
my website > how to diet 2/15/2013 9:01 am  

Anonymous Anonymous said...

I pay a quick visit daily some blogs and blogs to read posts, except this weblog offers feature based
content.

My web-site; erfolgreich und schnell abnehmen 2/23/2013 9:45 am  

Anonymous Anonymous said...

Hello there, You've done a fantastic job. I'll
certainly digg it and personally recommend to my friends.
I'm sure they'll be benefited from this site.



Here is my blog; paläoernährung 2/28/2013 4:25 am  

Anonymous Anonymous said...

This excellent website certainly has all of the info I
wanted about this subject and didn't know who to ask.

Also visit my web site: fettleber ernährung 3/02/2013 12:21 am  
  Post a Comment »
 
 
How to Suggest a Site | Company Info | Privacy Policy | Terms of Service | Jobs | Advertise With Us | Help
Copyright © 2005 for Blogger

Powered by Blogger