Quantcast
Channel: Objective Development Forums
Viewing all 4524 articles
Browse latest View live

Re: Using with VPN

$
0
0
Once again for me, please. Und am liebsten auf deutsch.

I want to create a rule which allow a specific app to connect to specific IP-Range.
I create a rule and choose "allow" at first for the incoming for the specific process, and IP-Range from 212.xxx.xxx.1 to 212.xxx.xxx.255 and the same for outgoing.
I'm connected with my vpn-prog to a server with this special IP but little snitch asked me again for permission to connect?
I thought this rule is for alle connection when I'm connected to this vpn-location. How can I create a rule that works?

Re: usbFunctionSetup and usbFunctionWrite in action?

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
Well, that won't do. What I need is source code. C source code of a usbFunctionSetup example. Thanks anyways.

Joining a Campaign in Elder Scrolls Online

$
0
0
When you make your character the diversion immediately allots you to one of numerous fights. You will be alloted consistent with your Faction and Campaign populace. When you achieve level 10 you can visit Cyrodiil from the Alliance War interface. This is your home battle.
You can additionally take part in different fights as a visitor player, case in point, it is conceivable to hop into an alternate battle when you're welcomed into it. This won't unassign you from your home battle, you will only play with your companion for quite a while. The awful thing about playing in different crusades is that you won't build your leaderboard rankings in your home battle.
More: http://www.safetesogold.com/

Republic and Empire research GSI and strike on Alderaan

$
0
0
Improvements proceed into the later reports of odd happenings on Alderaan. Creature ambushes have broken out on the planet, and Galactic Solutions Industries and its CEO, Addalar Hyland, have been found to build their movement with Alderaan respectability and the transportation products to planet's surface.
Hyland has approached the media and made the accompanying explanation:
"This is not about bargains or benefits. I have no further remark at this point."
We can affirm that Republic and Imperial authorities have initiated examinations after it was uncovered that GSI-stamped boats are checking all vessels setting out to and from Alderaan. Republic and Imperial boats have been seen in circle above Alderaan. The GSI have initiated an operation named THORN. GSI officers with the codename THORN inserted on their outfits have been seen watching Alderaan's urban communities. We are yet to uncover the way of the GSI operation.
No further data has been uncovered about the way of the later creature ambushes. Be that as it may, the casualties of these assaults have vanished from Alderaan's medicinal focuses, with work force offering no description to the media.
SWTORCreditsOnline.com is a professional Blog to share the latest information about Star Wars: The Old Republic Credits. You can find the cheapest SWTOR Credits to buy, and all the TOR Credits are 100% safe to your accounts. We’d like to choose the site who can delivery SW TOR credits very fast to their customers, and nice live help service!

Re: Wheres the download of the English version?

$
0
0
I need the English version too. I tried to canibalise an older version of webyep and now I am getting error popups

Re: Future of WebYep

$
0
0
@Max is there any news about a newer version for rapidweaver users? can't find news on github yet. thanks a lot! kai

Re: Future of WebYep

$
0
0
Hi All the functionality has now been done, which means all the editors are functioning with the updated core system eg redactor integration and upload facility audio upload etc. and now I am creating the css for each of the editors.. as for rapid-weaver then that will have to follow after the new system is tested and workings. Unfortunate its slow going as there is a lot to do, but at least there is a light at the end of the tunnel

speak soon max

Preventing the .scpt extension from appearing in launchbar

$
0
0
Is there a way to prevent the extension ".scpt" from appearing in Launchbar? Every file or app in my home folder appears without extension when invoked in launchbar, except for the scripts. Any idea how to change that behavior?

Re: Dreamweaver CC webyep Xtension

$
0
0
@otti
Ganz kurz - WebYep wird von Max (englisches Forum) weiterentwickel: http://forums.obdev.at/viewtopic.php?f=6&t=8559
Er ist schon relativ weit ... drücken wir also die Daumen, daß bald ein neues Release kommt.
Downloads gibt es hier bei GitHub https://github.com/obdev/WebYep– wenn Du nur das System willst und den Rest "per Hand" codest, brauchst Du aus dem ganzen nur den webyep-system Ordner ... was mir grade auffällt ... die allgemeine Dokumentation scheint nicht dabei zu sein?!? (Die letzte veröffentlichte kann ich Dir notfalls geben.)
Ansonsten musst Du Dir mal die englische Anleitung durchlesen bei GitHub durchlesen.

Alternativen ... ja und nein.
Kleine CMSe gibt es ja - aber ich finde die WY-Lösung in Ihrer Einfachheit bisher ungeschlagen.

Grüße,
imperfekt

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
When you download the v-usb code it comes with an example that demonstrates this in a command prompt. I wrote some code using PID. This is the set up.

unsigned  usbFunctionSetup(uchar data[8])
{
   usbRequest_t    *rq = (void *)data;
   usbMsgPtr = reportBuffer;


   if((rq->bmRequestType & USBRQ_TYPE_MASK) == USBRQ_TYPE_CLASS)
   {    /* class request type */
      if(rq->bRequest == USBRQ_HID_GET_REPORT)
      {
         if (  rq->wValue.bytes[0] == 2 )
         {//PID Block Load Report
            char error=1;
            if (_FFB_effect_index>4) error =2;
            reportBuffer[0]=2; //report id 2
            reportBuffer[1]=_FFB_effect_index;//effect index
            reportBuffer[2]=error;//1 =  success:2 = full: 3 = error
         }                   
         return USB_NO_MSG;      
      }   
      else if (rq->bRequest == USBRQ_HID_SET_REPORT)
       {
           if (  rq->wValue.bytes[0] == 1 )  _setReport=1;//set effect  Report
         return USB_NO_MSG;
       }
   
   }
    return 0;
}


The Write is proprietary to what I use if for but you just need to analyze the data.
uchar usbFunctionWrite(uchar *data, uchar len)
{
if (data[0]==1 && _setReport ){ _setReport=0; ...}
...
}

Open in new Terminal a folder with non english characters

$
0
0
When I want to open a Finder folder, I instant send it to LaunchBar and press Cmd+T. But that doesn't work when the folder (or the path containing it) has non-english characters. For instance, when I try to open the folder ~/Downloads/Información I get this error in Terminal:

~ $ cd /Users/llopis/Downloads/Informacio?
-bash: cd: /Users/llopis/Downloads/Informacio?: No such file or directory
Users $

As you can see, the accented vowel in folder name is missing.

The same happens with both Terminal and iTerm. I use LaunchBar 5.6.2 and OS X 10.9.1.

Any idea?

Thanks

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
Thanks for your post. Could you tell me what is wrong with the following attempt to transfer data from the PC to the device via a control OUT transfer?
   for(i=0;i<8;i++){
        buffer[i]= i;
    }
   mode=0;     
   ret=usb_control_msg(d, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, mode, 0, 0, (char *)buffer, sizeof(buffer), 5000);   

in the host app. All this is only a test so if you find it meaningless don't care. In the device app:
uchar usbFunctionWrite(uchar *data, uchar len){
    int i;

    for(i=0;i<len;i++){ // len expected to be 8.
        Send data[i] to a display driven by the device       
    }
   // The array data[8] here is buffer[8] in the host app.
    return 1;   // if we received it all (0 if not)
}

uchar usbFunctionSetup(uchar data[3]){
#define USB_NO_MSG      0xFF
   
    return  USB_NO_MSG;
}

Of course in a real app, in usbFunctionSetup I would save the setup context. The funny thing is that I do NOT use usbMsgPtr, in spite of the comment in usbdrv.h by the driver author. However, my code does not work. He says:
extern uchar    *usbMsgPtr;
/* This variable may be used to pass transmit data to the driver from the
 * implementation of usbFunctionWrite(). It is also used internally by the
 * driver for standard control requests.
 */

NOTE: in your usbFunctionWrite, it seems data[0] is the field bmRequestType of the USB device request sent by the host and not the actual data to be transfered after the data stage transaction.

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
in your usbFunctionWrite, it seems data[0] is the field bmRequestType of the USB device request sent by the host and not the actual data to be transfered after the data stage transaction.
Correct, I'm leaving that up to you to figure out.

Your problem may be how you set up the pipes. Can you post your config in here?

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
Thank you. I'm posting a link to the usbconfig.h file:
http://www.filedropper.com/usbconfig

You don't need either to register or login. Just press the 'Download this file' button. The uP in the device is an ATtiny85.

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
no, sorry your USB device descriptor config. Normaaly at the top of the main.c file, shows your Interface Descriptors and endpoints...

Re: usbFunctionSetup and usbFunctionWrite in action?

Compress (tar.gz) not working anymore

$
0
0
Compress (zip) works fine but not Compress (tar.gz).

Tried sending files to the action, and also triggering the action alone and selecting the file to compress.
Both methods immediately make Launchbar select ready to send the imaginary result of the operation, but the file is never compressed.

Example:
Image


ProductVersion: 5.6.2
OperatingSystem: Mavericks OS X 10.9.1
CPU: 1.7 GHz Intel Core i5

Offline V-USB data processing

$
0
0
A lot of the complexity of V-USB comes from the requirement to do de-stuffing and xoring of the USB datalines in real time. I have been wondering - is this really necessary?
V-USB does not process most of the packet contents in realtime, so why not move some more processing off-line? Basically only the PID, address and endpoint number is used in the interrupt routine.

- The PID is never bit-stuffed due to it's encoding
- The address may see one stuffed bit, but it is 7 bit only, so it will only expand to 8 bits in the worst case. The correct addressee can still be identified by a simple byte comparison.
- The endpoint number may be shifted by one bit.

That means, that if we are limiting ourselves to a single endpoint, it is easily possible to perform all the necessary "link-layer" data processing on xored and bitstuffed data.
This would allow reducing the receiver routine to a simple loop and would also enable 8 MHz V-USB.

Any thoughts?

Re: usbFunctionSetup and usbFunctionWrite in action?

$
0
0
This is how usbProcessRx ends in my usbdrv.c:

         }else{   /* not a standard request -- must be vendor or class request */
#if USB_CFG_IMPLEMENT_FN_READ || USB_CFG_IMPLEMENT_FN_WRITE
                uchar   len;
            replyLen = data[6];   /* if this is an OUT operation, the next token will reset usbMsgLen */
            if((len = usbFunctionSetup(data)) != 0xff){
               replyLen = len;
#if 1   /* USB-IO */
               flags = 0;   /* we have no valid msg, use read/write functions */
#endif
            }else{
               flags = 0;   /* we have no valid msg, use read/write functions */
            }
#else
            replyLen = usbFunctionSetup(data);
#endif
         }
      }
      usbMsgLen = replyLen;
      usbMsgFlags = flags;
   }else{   /* out request */
      usbWrite(data, len);
   }
}

You'll be able to see that no matter what the result of usbFunctionSetup is, whether 0xFF (0xFF is USB_NO_MSG) or not, usbMsgLen will never get USB_NO_MSG as its value. Suppose from the host application I call
   ret=usb_control_msg(d, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, mode, 0, 0, (char *)buffer, sizeof(buffer), 5000);

When in usbPoll, control reaches
void   usbPoll(void)
{
uchar   len;

   if((len = usbRxLen) > 0){
/* We could check CRC16 here -- but ACK has already been sent anyway. If you
 * need data integrity checks with this driver, check the CRC in your app
 * code and report errors back to the host. Since the ACK was already sent,
 * retries must be handled on application level.
 * unsigned crc = usbCrc16((uchar *)(unsigned)(usbAppBuf + 1), usbRxLen - 3);
 */
      len -= 3;   /* remove PID and CRC */
      if(len < 128){
         usbProcessRx((uchar *)(unsigned)(usbAppBuf + 1), len);
      }
      usbRxLen = 0;   /* mark rx buffer as available */
   }
   if(usbTxLen < 0){   /* TX system is idle */
      if(usbMsgLen != 0xff){
         usbBuildTxBlock();
      }else if(usbNewDeviceId){
         usbDeviceId = usbNewDeviceId;
#if 0   /* USB-IO */
         DBG1(1, &usbNewDeviceId, 1);
#endif
         usbNewDeviceId = 0;
      }
   }

and if usbTxLen < 0, usbBuildTxBlock will be called, even if there is nothing to transmit. I am looking at the Changelogs of newer versions to see where the bug was fixed.
Viewing all 4524 articles
Browse latest View live